Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002094/0.002094, allocations: 209.2 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2298/0.2298, allocations: 46.97 MB / 361.6 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 63.89 kB / 0.4973 GB, free: 7.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3133, allocations: 66.05 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009399/0.3227, allocations: 6.805 MB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.3269, allocations: 2.291 MB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003616/0.3273, allocations: 31.88 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.3313, allocations: 1.687 MB / 0.5724 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001624/0.3329, allocations: 0.7025 MB / 0.5731 GB, free: 8.625 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.3352, allocations: 1.039 MB / 0.5741 GB, free: 7.594 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3368, allocations: 1.413 MB / 0.5755 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.3381, allocations: 0.934 MB / 0.5764 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007103/0.3389, allocations: 0.6151 MB / 0.577 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.3397, allocations: 0.7353 MB / 0.5777 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.3398, allocations: 116 kB / 0.5778 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000662/0.3405, allocations: 331.8 kB / 0.5781 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.3408, allocations: 298.9 kB / 0.5784 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005557/0.3413, allocations: 0.5365 MB / 0.5789 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.3433, allocations: 1.777 MB / 0.5807 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3433, allocations: 0 / 0.5807 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3433, allocations: 0 / 0.5807 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.354e-05/0.3434, allocations: 0 / 0.5807 GB, free: 0.8047 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.00787/0.3512, allocations: 2.338 MB / 0.5829 GB, free: 14.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3513, allocations: 12.03 kB / 0.583 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/0.3616, allocations: 1.335 MB / 0.5843 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.3629, allocations: 0.5645 MB / 0.5848 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.363, allocations: 95.02 kB / 0.5849 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.3633, allocations: 128.4 kB / 0.585 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/0.3662, allocations: 1.595 MB / 0.5866 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.015e-05/0.3662, allocations: 7.953 kB / 0.5866 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.3663, allocations: 56 kB / 0.5866 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.301e-05/0.3664, allocations: 36 kB / 0.5867 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.3691, allocations: 1.505 MB / 0.5881 GB, free: 8.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007674/0.3768, allocations: 4.267 MB / 0.5923 GB, free: 4.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.3789, allocations: 1.084 MB / 0.5934 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.3799, allocations: 0.546 MB / 0.5939 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.3801, allocations: 32.97 kB / 0.5939 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/0.3801, allocations: 51.55 kB / 0.594 GB, free: 2.867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.486e-06/0.3801, allocations: 0 / 0.594 GB, free: 2.867 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009335/0.3894, allocations: 2.99 MB / 0.5969 GB, free: 15.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.3895, allocations: 94.05 kB / 0.597 GB, free: 15.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000506/0.39, allocations: 417.7 kB / 0.5974 GB, free: 15.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-05/0.3901, allocations: 45.7 kB / 0.5974 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.3904, allocations: 492.7 kB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.3908, allocations: 440.2 kB / 0.5983 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.3912, allocations: 222.8 kB / 0.5985 GB, free: 14.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.3914, allocations: 386.7 kB / 0.5989 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008847/0.3923, allocations: 458.4 kB / 0.5993 GB, free: 13.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.3934, allocations: 0.6958 MB / 0.6 GB, free: 12.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002068/0.3954, allocations: 1.202 MB / 0.6012 GB, free: 11.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.3954, allocations: 4 kB / 0.6012 GB, free: 11.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003079/0.3985, allocations: 1.574 MB / 0.6027 GB, free: 9.641 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.3985, allocations: 14.64 kB / 0.6028 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3985, allocations: 8 kB / 0.6028 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.4002, allocations: 0.5243 MB / 0.6033 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008535/0.4011, allocations: 199.7 kB / 0.6035 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001963/0.4013, allocations: 49.2 kB / 0.6035 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.4019, allocations: 119.2 kB / 0.6036 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.402, allocations: 55.92 kB / 0.6037 GB, free: 8.676 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004277/0.4025, allocations: 269.5 kB / 0.6039 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.4027, allocations: 79.48 kB / 0.604 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003058/0.4057, allocations: 1.54 MB / 0.6055 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.4057, allocations: 12 kB / 0.6055 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.4057, allocations: 3.938 kB / 0.6055 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.4057, allocations: 3.984 kB / 0.6055 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004577/0.4103, allocations: 2.496 MB / 0.608 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4103, allocations: 0 / 0.608 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/0.411, allocations: 143.8 kB / 0.6081 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001548/0.4126, allocations: 0.5223 MB / 0.6086 GB, free: 3.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/0.4127, allocations: 24 kB / 0.6086 GB, free: 3.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003144/0.413, allocations: 64.8 kB / 0.6087 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.413, allocations: 3.984 kB / 0.6087 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/0.4172, allocations: 2.321 MB / 0.611 GB, free: 1.105 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004594/0.4176, allocations: 199.1 kB / 0.6112 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.4178, allocations: 24 kB / 0.6112 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006116/0.4184, allocations: 48.03 kB / 0.6112 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/0.4186, allocations: 85.09 kB / 0.6113 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.542e-05/0.4186, allocations: 35.98 kB / 0.6113 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003212/0.419, allocations: 271.2 kB / 0.6116 GB, free: 468 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.419, allocations: 0 / 0.6116 GB, free: 468 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009827/0.42, allocations: 355.2 kB / 0.6119 GB, free: 112 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (voltageSource.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003202/0.4203, allocations: 175 kB / 0.6121 GB, free: 15.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002927/0.4232, allocations: 1.277 MB / 0.6134 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4232, allocations: 0 / 0.6134 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.425, allocations: 0.6767 MB / 0.614 GB, free: 13.97 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006811/0.4256, allocations: 97.88 kB / 0.6141 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.4293, allocations: 2.098 MB / 0.6162 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.4298, allocations: 454.3 kB / 0.6166 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004119/0.4302, allocations: 114.4 kB / 0.6167 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002056/0.4304, allocations: 63.41 kB / 0.6168 GB, free: 11.09 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4304, allocations: 0 / 0.6168 GB, free: 11.09 MB / 462.1 MB Notification: Performance of Templates: time 0.02424/0.4547, allocations: 13.92 MB / 0.6304 GB, free: 13.34 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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: 5.5594908769999165]