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.001334/0.001334, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.002305/0.002305, allocations: 212 kB / 23.74 MB, free: 4.656 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.637/1.637, allocations: 230.6 MB / 257.5 MB, free: 8 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.2566/0.2566, allocations: 46.93 MB / 360.9 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 179] 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.002244/0.002244, allocations: 67.91 kB / 0.4966 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4089/0.4111, allocations: 66.04 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01051/0.4216, allocations: 7.801 MB / 0.5687 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006108/0.4277, allocations: 2.445 MB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009019/0.4286, allocations: 31.94 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004555/0.4332, allocations: 1.831 MB / 0.573 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00241/0.4356, allocations: 0.7143 MB / 0.5737 GB, free: 7.523 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002607/0.4382, allocations: 1.082 MB / 0.5747 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002329/0.4405, allocations: 1.413 MB / 0.5761 GB, free: 5.023 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001599/0.4421, allocations: 0.9262 MB / 0.577 GB, free: 4.074 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009213/0.4431, allocations: 0.6228 MB / 0.5776 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009241/0.444, allocations: 0.7314 MB / 0.5783 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001742/0.4442, allocations: 112 kB / 0.5784 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009333/0.4451, allocations: 343.8 kB / 0.5788 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.4454, allocations: 294.9 kB / 0.579 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006864/0.4461, allocations: 0.6491 MB / 0.5797 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002451/0.4485, allocations: 1.77 MB / 0.5814 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.4485, allocations: 7.922 kB / 0.5814 GB, free: 15.55 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4485, allocations: 4 kB / 0.5814 GB, free: 15.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.4485, allocations: 0 / 0.5814 GB, free: 15.54 MB / 430.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.007783/0.4563, allocations: 2.334 MB / 0.5837 GB, free: 13.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4564, allocations: 8.031 kB / 0.5837 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009801/0.4662, allocations: 1.339 MB / 0.585 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.4677, allocations: 0.5605 MB / 0.5855 GB, free: 11.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.4679, allocations: 99 kB / 0.5856 GB, free: 11.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002318/0.4681, allocations: 136.4 kB / 0.5858 GB, free: 11 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003064/0.4712, allocations: 1.491 MB / 0.5872 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.212e-05/0.4712, allocations: 11.89 kB / 0.5872 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/0.4713, allocations: 52 kB / 0.5873 GB, free: 9.402 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-05/0.4714, allocations: 36 kB / 0.5873 GB, free: 9.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.4743, allocations: 1.517 MB / 0.5888 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009103/0.4834, allocations: 5.057 MB / 0.5937 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.4855, allocations: 1.076 MB / 0.5948 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009908/0.4865, allocations: 0.5421 MB / 0.5953 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/0.4867, allocations: 48.94 kB / 0.5954 GB, free: 0.918 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.023e-05/0.4868, allocations: 51.5 kB / 0.5954 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 4.178e-06/0.4868, allocations: 0 / 0.5954 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009168/0.4959, allocations: 2.998 MB / 0.5983 GB, free: 13.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.496, allocations: 94.11 kB / 0.5984 GB, free: 13.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.4967, allocations: 461.9 kB / 0.5989 GB, free: 13.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.222e-05/0.4967, allocations: 45.7 kB / 0.5989 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.4971, allocations: 480.9 kB / 0.5994 GB, free: 12.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003986/0.4975, allocations: 440.2 kB / 0.5998 GB, free: 12.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003537/0.4979, allocations: 222.8 kB / 0.6 GB, free: 12.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.4981, allocations: 382.7 kB / 0.6004 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008811/0.499, allocations: 454.4 kB / 0.6008 GB, free: 11.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.5001, allocations: 0.6997 MB / 0.6015 GB, free: 10.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.5022, allocations: 1.205 MB / 0.6027 GB, free: 9.176 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.686e-05/0.5022, allocations: 4 kB / 0.6027 GB, free: 9.172 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003152/0.5054, allocations: 1.582 MB / 0.6042 GB, free: 7.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.5054, allocations: 8 kB / 0.6042 GB, free: 7.574 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.5054, allocations: 8 kB / 0.6042 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.5071, allocations: 0.5321 MB / 0.6048 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007849/0.5078, allocations: 191.7 kB / 0.6049 GB, free: 6.844 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000212/0.5081, allocations: 61.25 kB / 0.605 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.5088, allocations: 130.9 kB / 0.6051 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.5089, allocations: 48 kB / 0.6052 GB, free: 6.605 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.0005246/0.5094, allocations: 267.8 kB / 0.6054 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.5096, allocations: 87.47 kB / 0.6055 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003065/0.5126, allocations: 1.54 MB / 0.607 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.5127, allocations: 23.92 kB / 0.607 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5127, allocations: 0 / 0.607 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/0.5127, allocations: 7.969 kB / 0.607 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/0.5177, allocations: 2.82 MB / 0.6098 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.5177, allocations: 0 / 0.6098 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006497/0.5183, allocations: 147.8 kB / 0.6099 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001498/0.5198, allocations: 0.5223 MB / 0.6104 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.521e-05/0.5199, allocations: 24 kB / 0.6105 GB, free: 1.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003074/0.5202, allocations: 72.73 kB / 0.6105 GB, free: 1.016 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.5202, allocations: 3.984 kB / 0.6105 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004616/0.5248, allocations: 2.321 MB / 0.6128 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005366/0.5254, allocations: 203.1 kB / 0.613 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.5255, allocations: 28 kB / 0.613 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006049/0.5261, allocations: 47.97 kB / 0.6131 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.5263, allocations: 81.16 kB / 0.6131 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.54e-05/0.5263, allocations: 35.98 kB / 0.6132 GB, free: 14.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004202/0.5268, allocations: 310.9 kB / 0.6135 GB, free: 13.97 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5268, allocations: 0 / 0.6135 GB, free: 13.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001074/0.5278, allocations: 347.2 kB / 0.6138 GB, free: 13.63 MB / 462.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.0003172/0.5282, allocations: 167 kB / 0.614 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.5311, allocations: 1.272 MB / 0.6152 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5311, allocations: 0 / 0.6152 GB, free: 12.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.5329, allocations: 0.6929 MB / 0.6159 GB, free: 11.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006689/0.5336, allocations: 104.4 kB / 0.616 GB, free: 11.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/0.5375, allocations: 2.082 MB / 0.618 GB, free: 9.281 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007279/0.5382, allocations: 1.044 MB / 0.619 GB, free: 8.211 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004161/0.5387, allocations: 106.8 kB / 0.6191 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002053/0.5389, allocations: 67.42 kB / 0.6192 GB, free: 8.035 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.5389, allocations: 0 / 0.6192 GB, free: 8.035 MB / 462.1 MB Notification: Performance of Templates: time 0.02879/0.5677, allocations: 15.31 MB / 0.6342 GB, free: 8.805 MB / 478.1 MB " [Timeout remaining time 659] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/Ideal/Ideal.csv","/var/lib/jenkins/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: 6.385624574031681]