Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 97.97 kB / 17 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002047/0.002047, allocations: 193.8 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 227.7 MB / 246.4 MB, free: 9.809 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2157/0.2157, allocations: 46.19 MB / 344.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002517/0.0002517, allocations: 8 kB / 418.8 MB, free: 20.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1451, allocations: 63.56 MB / 482.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01841/0.1636, allocations: 17.08 MB / 499.5 MB, free: 3.375 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.1761, allocations: 4.589 MB / 0.4923 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004493/0.1806, allocations: 143.5 kB / 0.4924 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004279/0.1849, allocations: 0.8774 MB / 0.4933 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009201/0.1942, allocations: 1.776 MB / 0.495 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004464/0.1986, allocations: 1.069 MB / 0.496 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.4804/0.679, allocations: 11.57 MB / 0.5073 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04556/0.7246, allocations: 21.31 MB / 0.5281 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.7367, allocations: 4.535 MB / 0.5326 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01137/0.7481, allocations: 5.177 MB / 0.5376 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003871/0.752, allocations: 0.6793 MB / 0.5383 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005767/0.7578, allocations: 0.8636 MB / 0.5391 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005191/0.763, allocations: 2.28 MB / 0.5414 GB, free: 7.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005953/0.769, allocations: 2.333 MB / 0.5436 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02354/0.7926, allocations: 19.83 MB / 0.563 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7926, allocations: 0 / 0.563 GB, free: 4.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.7926, allocations: 0 / 0.563 GB, free: 4.285 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008155/0.7935, allocations: 2.734 kB / 0.563 GB, free: 4.285 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03668/0.8302, allocations: 11.97 MB / 0.5747 GB, free: 8.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.8302, allocations: 8.031 kB / 0.5747 GB, free: 8.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06075/0.891, allocations: 11.49 MB / 0.5859 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01686/0.9079, allocations: 6.992 MB / 0.5928 GB, free: 6.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001237/0.9092, allocations: 0.898 MB / 0.5936 GB, free: 5.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006246/0.9154, allocations: 1.173 MB / 0.5948 GB, free: 4.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05078/0.9662, allocations: 18.47 MB / 0.6128 GB, free: 1.793 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003686/0.9666, allocations: 19.81 kB / 0.6128 GB, free: 1.773 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002594/0.9692, allocations: 493.2 kB / 0.6133 GB, free: 1.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006089/0.9699, allocations: 0.6577 MB / 0.6139 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0431/1.013, allocations: 18.99 MB / 0.6325 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1225/1.136, allocations: 61.05 MB / 0.6921 GB, free: 24 kB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3473/1.483, allocations: 16.58 MB / 0.7083 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01151/1.495, allocations: 4.5 MB / 0.7127 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008736/1.495, allocations: 317.7 kB / 0.713 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001287/1.496, allocations: 105.4 kB / 0.7131 GB, free: 149 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.959e-06/1.496, allocations: 1.406 kB / 0.7131 GB, free: 149 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.03139/1.527, allocations: 12.32 MB / 0.7251 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.575e-05/1.527, allocations: 114.7 kB / 0.7252 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0142/1.541, allocations: 8.55 MB / 0.7336 GB, free: 142.7 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001425/1.543, allocations: 135.9 kB / 0.7337 GB, free: 142.6 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003378/1.546, allocations: 4.492 MB / 0.7381 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002515/1.549, allocations: 2.19 MB / 0.7402 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004803/1.549, allocations: 147.8 kB / 0.7404 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003739/1.55, allocations: 0.6188 MB / 0.741 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006732/1.556, allocations: 4.083 MB / 0.745 GB, free: 135.8 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008259/1.565, allocations: 6.887 MB / 0.7517 GB, free: 130.9 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00854/1.573, allocations: 5.566 MB / 0.7571 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/1.573, allocations: 27.53 kB / 0.7572 GB, free: 128.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02817/1.602, allocations: 11.95 MB / 0.7688 GB, free: 124.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001574/1.602, allocations: 46.34 kB / 0.7689 GB, free: 124.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/1.602, allocations: 95.89 kB / 0.769 GB, free: 124 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/1.603, allocations: 428 kB / 0.7694 GB, free: 123.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008044/1.611, allocations: 2 MB / 0.7713 GB, free: 122 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006113/1.617, allocations: 8.912 MB / 0.78 GB, free: 112.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008364/1.626, allocations: 1.358 MB / 0.7814 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/1.628, allocations: 371.4 kB / 0.7817 GB, free: 111.2 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01328/1.641, allocations: 4.585 MB / 0.7862 GB, free: 107.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002701/1.644, allocations: 0.7074 MB / 0.7869 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02606/1.67, allocations: 10.6 MB / 0.7972 GB, free: 96.06 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-05/1.67, allocations: 68 kB / 0.7973 GB, free: 95.99 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.575e-05/1.67, allocations: 0 / 0.7973 GB, free: 95.99 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000178/1.67, allocations: 35.88 kB / 0.7973 GB, free: 95.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5415/2.212, allocations: 161.4 MB / 0.9549 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002201/2.212, allocations: 94.45 kB / 0.955 GB, free: 158.7 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005482/2.218, allocations: 1.537 MB / 0.9565 GB, free: 158.5 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008499/2.219, allocations: 390.4 kB / 0.9569 GB, free: 158.4 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009402/2.22, allocations: 245.6 kB / 0.9571 GB, free: 158.3 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/2.225, allocations: 8.794 MB / 0.9657 GB, free: 150.2 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-05/2.225, allocations: 133.2 kB / 0.9659 GB, free: 150.2 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02238/2.247, allocations: 18.47 MB / 0.9839 GB, free: 139.3 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005445/2.253, allocations: 2.021 MB / 0.9859 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002647/2.255, allocations: 245.8 kB / 0.9861 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00612/2.261, allocations: 0.5657 MB / 0.9867 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/2.263, allocations: 0.7225 MB / 0.9874 GB, free: 138 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006239/2.264, allocations: 307.2 kB / 0.9877 GB, free: 137.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.01191/2.275, allocations: 5.995 MB / 0.9935 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of sort global known variables: time 4.01e-07/2.276, allocations: 0 / 0.9935 GB, free: 132.9 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01422/2.29, allocations: 2.626 MB / 0.9961 GB, free: 130.3 MB / 0.5607 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002445/2.292, allocations: 497.7 kB / 0.9965 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01704/2.309, allocations: 10.33 MB / 1.007 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 8.564e-05/2.309, allocations: 15.94 kB / 1.007 GB, free: 120.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.008273/2.318, allocations: 5.423 MB / 1.012 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01107/2.329, allocations: 1.48 MB / 1.013 GB, free: 113.7 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05048/2.379, allocations: 27.93 MB / 1.041 GB, free: 84.48 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0157/2.395, allocations: 7.777 MB / 1.048 GB, free: 76.67 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.0109/2.406, allocations: 3.566 MB / 1.052 GB, free: 73.09 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/2.409, allocations: 0.5775 MB / 1.052 GB, free: 72.52 MB / 0.5607 GB Notification: Performance of SimCode: time 1.253e-06/2.409, allocations: 2.297 kB / 1.052 GB, free: 72.52 MB / 0.5607 GB Notification: Performance of Templates: time 0.5474/2.956, allocations: 96.06 MB / 1.146 GB, free: 163.6 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches