Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.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.001058/0.001058, allocations: 67.77 kB / 21.69 MB, free: 2.855 MB / 18.57 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.001449/0.001449, allocations: 165.9 kB / 24.99 MB, free: 8.793 MB / 18.57 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.2863/0.2863, allocations: 34.26 MB / 296 MB, free: 0.7656 MB / 266.7 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.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.re|v.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.665e-05, allocations: 2.312 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006689/0.006716, allocations: 7.269 MB / 385.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.01051, allocations: 2.268 MB / 387.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004356/0.01094, allocations: 27.94 kB / 387.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002099/0.01304, allocations: 1.847 MB / 389.4 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001241/0.01428, allocations: 0.7027 MB / 390.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.01552, allocations: 0.7321 MB / 390.9 MB, free: 6.098 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.01664, allocations: 1.295 MB / 392.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.01767, allocations: 0.8516 MB / 393 MB, free: 3.922 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.01839, allocations: 0.7521 MB / 393.8 MB, free: 3.168 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.01884, allocations: 0.5181 MB / 394.3 MB, free: 2.648 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.01896, allocations: 104 kB / 394.4 MB, free: 2.547 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.01945, allocations: 291.6 kB / 394.7 MB, free: 2.262 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.0196, allocations: 282.8 kB / 394.9 MB, free: 1.984 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003175/0.01991, allocations: 422.9 kB / 395.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001112/0.02103, allocations: 1.093 MB / 396.4 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.02103, allocations: 0 / 396.4 MB, free: 484 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.02103, allocations: 0 / 396.4 MB, free: 484 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.187e-05/0.02105, allocations: 0 / 396.4 MB, free: 484 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.002865/0.02392, allocations: 1.882 MB / 398.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.02396, allocations: 12.03 kB / 398.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/0.02884, allocations: 1.588 MB / 399.9 MB, free: 12.95 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006451/0.02948, allocations: 0.5099 MB / 400.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.371e-05/0.02953, allocations: 95.03 kB / 400.5 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.02967, allocations: 140.3 kB / 400.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.03092, allocations: 1.083 MB / 401.8 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/0.03095, allocations: 11.89 kB / 401.8 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.092e-05/0.03103, allocations: 56 kB / 401.8 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.335e-05/0.03105, allocations: 36 kB / 401.9 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.03224, allocations: 0.8547 MB / 402.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.03675, allocations: 3.546 MB / 406.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009811/0.03773, allocations: 0.6784 MB / 406.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.038, allocations: 207 kB / 407.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.966e-05/0.03807, allocations: 44.91 kB / 407.2 MB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.03811, allocations: 46.39 kB / 407.2 MB, free: 5.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 3.136e-06/0.03811, allocations: 4 kB / 407.2 MB, free: 5.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.001158/0.03927, allocations: 0.7024 MB / 407.9 MB, free: 4.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.07e-05/0.0393, allocations: 60.41 kB / 408 MB, free: 4.633 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003867/0.03968, allocations: 0.51 MB / 408.5 MB, free: 4.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/0.03973, allocations: 41.7 kB / 408.5 MB, free: 4.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.03997, allocations: 0.5922 MB / 409.1 MB, free: 3.457 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.04014, allocations: 325.2 kB / 409.4 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.04035, allocations: 220.5 kB / 409.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.04052, allocations: 0.5469 MB / 410.2 MB, free: 2.355 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002881/0.0408, allocations: 170.5 kB / 410.4 MB, free: 2.188 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.04128, allocations: 0.5491 MB / 410.9 MB, free: 1.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007671/0.04205, allocations: 0.8045 MB / 411.7 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.04206, allocations: 11.94 kB / 411.7 MB, free: 0.5156 MB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001256/0.04331, allocations: 0.8755 MB / 412.6 MB, free: 15.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.04333, allocations: 8 kB / 412.6 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.04334, allocations: 12.09 kB / 412.6 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002535/0.0436, allocations: 83.3 kB / 412.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/0.04411, allocations: 255.6 kB / 413 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.04569, allocations: 3.511 MB / 416.5 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.04607, allocations: 119.4 kB / 416.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.04613, allocations: 55.92 kB / 416.6 MB, free: 11.34 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002124/0.04634, allocations: 216.3 kB / 416.9 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.04645, allocations: 99.58 kB / 417 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.04749, allocations: 0.8811 MB / 417.8 MB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.0475, allocations: 12 kB / 417.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0475, allocations: 0 / 417.9 MB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.04751, allocations: 3.984 kB / 417.9 MB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.0497, allocations: 1.799 MB / 419.7 MB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.0497, allocations: 8.094 kB / 419.7 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.0501, allocations: 183.7 kB / 419.8 MB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.0503, allocations: 83.3 kB / 419.9 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.341e-05/0.05034, allocations: 24 kB / 419.9 MB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/0.05185, allocations: 3.516 MB / 423.5 MB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.05186, allocations: 11.94 kB / 423.5 MB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.05301, allocations: 1.135 MB / 424.6 MB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.289e-05/0.05308, allocations: 79.42 kB / 424.7 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/0.05315, allocations: 27.94 kB / 424.7 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002739/0.05342, allocations: 52.03 kB / 424.8 MB, free: 2.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.05354, allocations: 84.34 kB / 424.8 MB, free: 2.543 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.05357, allocations: 32 kB / 424.9 MB, free: 2.512 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003094/0.05388, allocations: 339 kB / 425.2 MB, free: 2.184 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05388, allocations: 0 / 425.2 MB, free: 2.184 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008832/0.05476, allocations: 351.1 kB / 425.6 MB, free: 1.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 1 (currentSource.pin_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 (93): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002697/0.05503, allocations: 174.9 kB / 425.7 MB, free: 1.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.05641, allocations: 0.9301 MB / 426.7 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.05642, allocations: 0 / 426.7 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005758/0.05699, allocations: 0.6241 MB / 427.3 MB, free: 40 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006287/0.05762, allocations: 105.9 kB / 427.4 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.06032, allocations: 1.801 MB / 429.2 MB, free: 13.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001718/0.0605, allocations: 189.9 kB / 429.4 MB, free: 13.78 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003959/0.06089, allocations: 129.9 kB / 429.5 MB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001841/0.06108, allocations: 72.48 kB / 429.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.06108, allocations: 0 / 429.6 MB, free: 13.58 MB / 410.7 MB Notification: Performance of Templates: time 0.01464/0.07572, allocations: 9.037 MB / 438.6 MB, free: 4.66 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7409812309779227]