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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001853/0.001853, allocations: 109.5 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002493/0.002493, allocations: 208.4 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 230.2 MB / 256.8 MB, free: 8.629 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.9 MB / 359.9 MB, free: 4.957 MB / 286.1 MB [Timeout remaining time 90] 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.00222/0.00222, allocations: 75.88 kB / 0.495 GB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4025, allocations: 65.99 MB / 0.5594 GB, free: 5.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02625/0.4288, allocations: 22.82 MB / 0.5817 GB, free: 14.35 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.4424, allocations: 5.544 MB / 0.5871 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005671/0.4481, allocations: 195.4 kB / 0.5873 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0233/0.4714, allocations: 9.572 MB / 0.5967 GB, free: 15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009803/0.4812, allocations: 2.159 MB / 0.5988 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006713/0.4879, allocations: 1.918 MB / 0.6006 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02028/0.5082, allocations: 14.46 MB / 0.6148 GB, free: 12.42 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04883/0.557, allocations: 26.19 MB / 0.6403 GB, free: 2.008 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01472/0.5717, allocations: 8.007 MB / 0.6482 GB, free: 9.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01602/0.5877, allocations: 8.795 MB / 0.6567 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00687/0.5946, allocations: 2.098 MB / 0.6588 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008935/0.6035, allocations: 2.363 MB / 0.6611 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.008109/0.6116, allocations: 4.329 MB / 0.6653 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.01709/0.6287, allocations: 8.428 MB / 0.6736 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.04028/0.669, allocations: 28.77 MB / 0.7017 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.669, allocations: 0 / 0.7017 GB, free: 3.027 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.669, allocations: 3.938 kB / 0.7017 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009174/0.6699, allocations: 0 / 0.7017 GB, free: 3.023 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.06303/0.733, allocations: 19 MB / 0.7202 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.733, allocations: 12.03 kB / 0.7202 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06043/0.7935, allocations: 11.48 MB / 0.7314 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.66/1.453, allocations: 8.888 MB / 0.7401 GB, free: 131.4 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009703/1.454, allocations: 1.063 MB / 0.7412 GB, free: 130.9 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005927/1.46, allocations: 1.374 MB / 0.7425 GB, free: 130.5 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06171/1.522, allocations: 23.63 MB / 0.7656 GB, free: 119.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005799/1.523, allocations: 18.36 kB / 0.7656 GB, free: 119.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005329/1.528, allocations: 0.5655 MB / 0.7661 GB, free: 119.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005789/1.529, allocations: 0.7056 MB / 0.7668 GB, free: 118.5 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04299/1.572, allocations: 21.74 MB / 0.7881 GB, free: 96.71 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1099/1.681, allocations: 72.04 MB / 0.8584 GB, free: 23.96 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02078/1.702, allocations: 28.07 MB / 0.8858 GB, free: 9.203 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009292/1.711, allocations: 4.504 MB / 0.8902 GB, free: 4.676 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03399/1.745, allocations: 16.55 MB / 0.9064 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.203e-05/1.746, allocations: 90.09 kB / 0.9065 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=465): time 6.792e-06/1.746, allocations: 0 / 0.9065 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of matching and sorting (n=465): time 0.04052/1.786, allocations: 15.68 MB / 0.9218 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.786, allocations: 128.7 kB / 0.9219 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/1.797, allocations: 5.115 MB / 0.9269 GB, free: 14.84 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001085/1.798, allocations: 101.7 kB / 0.927 GB, free: 14.73 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.005132/1.803, allocations: 6.094 MB / 0.933 GB, free: 9.148 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002523/1.805, allocations: 1.666 MB / 0.9346 GB, free: 7.469 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003009/1.808, allocations: 1.551 MB / 0.9361 GB, free: 5.91 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.809, allocations: 305.1 kB / 0.9364 GB, free: 5.609 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007327/1.816, allocations: 4.156 MB / 0.9405 GB, free: 1.449 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01173/1.828, allocations: 7.27 MB / 0.9476 GB, free: 8.734 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.019/1.847, allocations: 11.96 MB / 0.9592 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/1.847, allocations: 31.94 kB / 0.9593 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02579/1.873, allocations: 13.08 MB / 0.972 GB, free: 14.18 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.171e-05/1.873, allocations: 52.92 kB / 0.9721 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001673/1.873, allocations: 108 kB / 0.9722 GB, free: 14.02 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007059/1.88, allocations: 3.094 MB / 0.9752 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006519/1.886, allocations: 1.61 MB / 0.9768 GB, free: 9.309 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009761/1.887, allocations: 331 kB / 0.9771 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007119/1.895, allocations: 1.079 MB / 0.9781 GB, free: 7.887 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0019/1.896, allocations: 384 kB / 0.9785 GB, free: 7.512 MB / 0.67 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.01267/1.909, allocations: 5.386 MB / 0.9838 GB, free: 2.109 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0018/1.911, allocations: 0.5239 MB / 0.9843 GB, free: 1.582 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01878/1.93, allocations: 9.549 MB / 0.9936 GB, free: 8 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.484e-05/1.93, allocations: 51.94 kB / 0.9937 GB, free: 7.949 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/1.93, allocations: 0 / 0.9937 GB, free: 7.949 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.119e-05/1.93, allocations: 23.91 kB / 0.9937 GB, free: 7.926 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4726/2.402, allocations: 20.74 MB / 1.014 GB, free: 234.9 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-05/2.402, allocations: 0 / 1.014 GB, free: 234.9 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005718/2.408, allocations: 0.7456 MB / 1.015 GB, free: 234.8 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01032/2.418, allocations: 2.962 MB / 1.018 GB, free: 234.1 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001333/2.42, allocations: 103.2 kB / 1.018 GB, free: 234 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/2.421, allocations: 146.5 kB / 1.018 GB, free: 234 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/2.421, allocations: 3.969 kB / 1.018 GB, free: 234 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04076/2.462, allocations: 14.19 MB / 1.032 GB, free: 228.7 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006632/2.468, allocations: 1.388 MB / 1.033 GB, free: 228.3 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002797/2.471, allocations: 86.59 kB / 1.033 GB, free: 228.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00747/2.479, allocations: 363.8 kB / 1.033 GB, free: 228.1 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00217/2.481, allocations: 321.1 kB / 1.034 GB, free: 228.1 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001285/2.482, allocations: 142 kB / 1.034 GB, free: 228.1 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.01117/2.493, allocations: 3.424 MB / 1.037 GB, free: 226.9 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.163e-06/2.493, allocations: 0 / 1.037 GB, free: 226.9 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.01233/2.505, allocations: 3.23 MB / 1.04 GB, free: 226.3 MB / 0.6857 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.001707/2.507, allocations: 258.1 kB / 1.041 GB, free: 226.1 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.01863/2.526, allocations: 9.514 MB / 1.05 GB, free: 219.5 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/2.526, allocations: 4 kB / 1.05 GB, free: 219.5 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.009326/2.535, allocations: 4.114 MB / 1.054 GB, free: 216.1 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00928/2.544, allocations: 1.266 MB / 1.055 GB, free: 215 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05174/2.596, allocations: 24.1 MB / 1.079 GB, free: 192.5 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01614/2.612, allocations: 8.718 MB / 1.087 GB, free: 183.8 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002071/2.614, allocations: 475.2 kB / 1.088 GB, free: 183.3 MB / 0.6857 GB Notification: Performance of SimCode: time 1.963e-06/2.614, allocations: 0 / 1.088 GB, free: 183.3 MB / 0.6857 GB Notification: Performance of Templates: time 0.7597/3.374, allocations: 385.9 MB / 1.465 GB, free: 47.71 MB / 0.6857 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/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