Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001438/0.001438, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001696/0.001696, allocations: 208 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2412/0.2412, allocations: 46.94 MB / 360.8 MB, free: 3.945 MB / 286.1 MB " [Timeout remaining time 179] 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.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 75.88 kB / 0.4966 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.414, allocations: 66.09 MB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02427/0.4383, allocations: 19.53 MB / 0.5803 GB, free: 380 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.4529, allocations: 5.388 MB / 0.5855 GB, free: 10.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005863/0.4588, allocations: 234.8 kB / 0.5857 GB, free: 10.74 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02295/0.4817, allocations: 8.847 MB / 0.5944 GB, free: 1.875 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01119/0.4929, allocations: 2.179 MB / 0.5965 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007613/0.5005, allocations: 1.881 MB / 0.5983 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02217/0.5227, allocations: 14.55 MB / 0.6125 GB, free: 15.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04682/0.5695, allocations: 21.12 MB / 0.6332 GB, free: 9.879 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01691/0.5864, allocations: 8.164 MB / 0.6411 GB, free: 1.695 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01876/0.6052, allocations: 8.729 MB / 0.6497 GB, free: 8.934 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00745/0.6126, allocations: 2.098 MB / 0.6517 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009793/0.6224, allocations: 2.339 MB / 0.654 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008516/0.6309, allocations: 4.333 MB / 0.6582 GB, free: 160 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01671/0.6477, allocations: 6.592 MB / 0.6647 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04118/0.6888, allocations: 28.91 MB / 0.6929 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.6888, allocations: 3.938 kB / 0.6929 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.975e-06/0.6888, allocations: 4 kB / 0.6929 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001057/0.6899, allocations: 0 / 0.6929 GB, free: 12.53 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06911/0.759, allocations: 18.93 MB / 0.7114 GB, free: 9.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/0.7591, allocations: 12.03 kB / 0.7114 GB, free: 9.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06379/0.8229, allocations: 11.48 MB / 0.7226 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/0.846, allocations: 9.051 MB / 0.7315 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001487/0.8475, allocations: 1.06 MB / 0.7325 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006711/0.8542, allocations: 1.375 MB / 0.7338 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7312/1.585, allocations: 23.93 MB / 0.7572 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000607/1.586, allocations: 21.58 kB / 0.7572 GB, free: 126.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004163/1.59, allocations: 0.5722 MB / 0.7578 GB, free: 126.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006222/1.591, allocations: 0.7041 MB / 0.7585 GB, free: 125.7 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0468/1.638, allocations: 21.66 MB / 0.7796 GB, free: 104.2 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/1.755, allocations: 61.12 MB / 0.8393 GB, free: 43.06 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/1.774, allocations: 11.34 MB / 0.8504 GB, free: 33.13 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007309/1.781, allocations: 4.512 MB / 0.8548 GB, free: 28.59 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03176/1.813, allocations: 14.32 MB / 0.8688 GB, free: 14.45 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.927e-05/1.813, allocations: 78.11 kB / 0.8688 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 8.836e-06/1.813, allocations: 0 / 0.8688 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03683/1.85, allocations: 15.43 MB / 0.8839 GB, free: 14.9 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.85, allocations: 128.7 kB / 0.884 GB, free: 14.75 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01171/1.862, allocations: 4.986 MB / 0.8889 GB, free: 9.891 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001097/1.863, allocations: 101.7 kB / 0.889 GB, free: 9.785 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005981/1.869, allocations: 6.116 MB / 0.895 GB, free: 4.121 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003098/1.872, allocations: 1.658 MB / 0.8966 GB, free: 2.449 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005706/1.878, allocations: 1.555 MB / 0.8981 GB, free: 0.8867 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001527/1.878, allocations: 305.1 kB / 0.8984 GB, free: 0.5859 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009011/1.887, allocations: 4.144 MB / 0.9024 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01212/1.899, allocations: 7.277 MB / 0.9096 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02001/1.919, allocations: 11.95 MB / 0.9212 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001247/1.919, allocations: 28 kB / 0.9212 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02963/1.949, allocations: 13.07 MB / 0.934 GB, free: 9.188 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001601/1.949, allocations: 52.97 kB / 0.9341 GB, free: 9.137 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002523/1.949, allocations: 104 kB / 0.9342 GB, free: 9.035 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007386/1.957, allocations: 3.086 MB / 0.9372 GB, free: 5.938 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006506/1.963, allocations: 1.599 MB / 0.9387 GB, free: 4.336 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009143/1.964, allocations: 343 kB / 0.9391 GB, free: 3.992 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006717/1.971, allocations: 1.044 MB / 0.9401 GB, free: 2.941 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/1.972, allocations: 391.9 kB / 0.9405 GB, free: 2.559 MB / 0.6232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01136/1.984, allocations: 5.395 MB / 0.9457 GB, free: 13.14 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001686/1.985, allocations: 0.5045 MB / 0.9462 GB, free: 12.64 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/2.004, allocations: 9.532 MB / 0.9555 GB, free: 3.074 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.111e-05/2.004, allocations: 44 kB / 0.9556 GB, free: 3.031 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/2.004, allocations: 3.938 kB / 0.9556 GB, free: 3.027 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.903e-05/2.004, allocations: 27.91 kB / 0.9556 GB, free: 3 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05548/2.06, allocations: 17.96 MB / 0.9731 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/2.06, allocations: 3.984 kB / 0.9731 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003957/2.064, allocations: 0.7411 MB / 0.9739 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008282/2.072, allocations: 2.961 MB / 0.9768 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001059/2.073, allocations: 111.9 kB / 0.9769 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007924/2.074, allocations: 150.4 kB / 0.977 GB, free: 12.99 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/2.074, allocations: 4 kB / 0.977 GB, free: 12.98 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3207/2.395, allocations: 14.16 MB / 0.9908 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004934/2.4, allocations: 1.332 MB / 0.9921 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/2.401, allocations: 82.23 kB / 0.9922 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005107/2.406, allocations: 372.7 kB / 0.9926 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001275/2.408, allocations: 337.4 kB / 0.9929 GB, free: 223.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005599/2.408, allocations: 140.8 kB / 0.993 GB, free: 223.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007761/2.416, allocations: 3.207 MB / 0.9962 GB, free: 223.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.91e-07/2.416, allocations: 0 / 0.9962 GB, free: 223.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0148/2.431, allocations: 3.251 MB / 0.9993 GB, free: 223.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00183/2.433, allocations: 250.7 kB / 0.9996 GB, free: 222.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02328/2.456, allocations: 9.518 MB / 1.009 GB, free: 219.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/2.456, allocations: 6.156 kB / 1.009 GB, free: 219.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01126/2.467, allocations: 4.104 MB / 1.013 GB, free: 218.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008808/2.476, allocations: 1.252 MB / 1.014 GB, free: 218 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05898/2.535, allocations: 24.53 MB / 1.038 GB, free: 201.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01884/2.554, allocations: 8.638 MB / 1.046 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006311/2.56, allocations: 2.845 MB / 1.049 GB, free: 192.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/2.561, allocations: 397.2 kB / 1.05 GB, free: 192.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.473e-06/2.561, allocations: 0 / 1.05 GB, free: 192.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1305/2.692, allocations: 95.76 MB / 1.143 GB, free: 97.76 MB / 0.67 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.698014307767153]