Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001496/0.001496, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001749/0.001749, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.007/1.007, allocations: 177.1 MB / 205 MB, free: 5.445 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2438/0.2438, allocations: 32.81 MB / 294.3 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.762e-05/1.894e-05, allocations: 2.312 kB / 376 MB, free: 4.668 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005541/0.00556, allocations: 6.78 MB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.008276, allocations: 2.186 MB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002679/0.008543, allocations: 23.94 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.01045, allocations: 1.614 MB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009216/0.01137, allocations: 0.6912 MB / 387.3 MB, free: 9.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009951/0.01236, allocations: 0.7 MB / 388 MB, free: 8.621 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008269/0.01319, allocations: 1.19 MB / 389.2 MB, free: 7.422 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007621/0.01395, allocations: 0.7568 MB / 390 MB, free: 6.645 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.01451, allocations: 0.6936 MB / 390.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008824/0.0154, allocations: 474.6 kB / 391.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.6e-05/0.01549, allocations: 96 kB / 391.2 MB, free: 5.391 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003957/0.01589, allocations: 275.6 kB / 391.5 MB, free: 5.121 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.01601, allocations: 258.9 kB / 391.7 MB, free: 4.867 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002435/0.01625, allocations: 390.9 kB / 392.1 MB, free: 4.484 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008925/0.01714, allocations: 1.012 MB / 393.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01715, allocations: 0 / 393.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01715, allocations: 0 / 393.1 MB, free: 3.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.01716, allocations: 4 kB / 393.1 MB, free: 3.465 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.00222/0.01938, allocations: 1.748 MB / 394.9 MB, free: 1.676 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.01942, allocations: 8.031 kB / 394.9 MB, free: 1.668 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/0.02396, allocations: 1.569 MB / 396.4 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005379/0.0245, allocations: 498.2 kB / 396.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.02455, allocations: 90.78 kB / 397 MB, free: 15.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.02467, allocations: 124.1 kB / 397.1 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.026, allocations: 1.013 MB / 398.2 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.766e-05/0.02602, allocations: 11.95 kB / 398.2 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.266e-05/0.0261, allocations: 48 kB / 398.2 MB, free: 14.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.088e-05/0.02612, allocations: 32 kB / 398.2 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.02714, allocations: 0.8142 MB / 399.1 MB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003731/0.03087, allocations: 3.248 MB / 402.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008948/0.03177, allocations: 0.6527 MB / 403 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.03203, allocations: 202.6 kB / 403.2 MB, free: 9.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-05/0.0321, allocations: 36.97 kB / 403.2 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.03213, allocations: 50.33 kB / 403.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.114e-06/0.03213, allocations: 0 / 403.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.001076/0.03321, allocations: 0.6907 MB / 403.9 MB, free: 8.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.03324, allocations: 60.41 kB / 404 MB, free: 8.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.0336, allocations: 0.4906 MB / 404.5 MB, free: 7.801 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/0.03364, allocations: 41.7 kB / 404.5 MB, free: 7.754 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.03386, allocations: 0.5455 MB / 405.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004171/0.03427, allocations: 317.3 kB / 405.4 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.03446, allocations: 200.5 kB / 405.6 MB, free: 6.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.0346, allocations: 0.543 MB / 406.1 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.03486, allocations: 170.5 kB / 406.3 MB, free: 5.961 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.03526, allocations: 496.5 kB / 406.8 MB, free: 5.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/0.03595, allocations: 0.7091 MB / 407.5 MB, free: 4.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.03595, allocations: 4 kB / 407.5 MB, free: 4.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001002/0.03696, allocations: 0.8401 MB / 408.3 MB, free: 3.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.03697, allocations: 8 kB / 408.3 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.03698, allocations: 4 kB / 408.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002613/0.03724, allocations: 83.5 kB / 408.4 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.03773, allocations: 247.6 kB / 408.7 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/0.03921, allocations: 3.515 MB / 412.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.03983, allocations: 103.2 kB / 412.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.03987, allocations: 43.98 kB / 412.3 MB, free: 15.41 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0001872/0.04006, allocations: 224.2 kB / 412.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.04016, allocations: 91.62 kB / 412.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/0.04114, allocations: 0.8656 MB / 413.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.04114, allocations: 8 kB / 413.5 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.04114, allocations: 4 kB / 413.5 MB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.04115, allocations: 7.922 kB / 413.5 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001772/0.04293, allocations: 1.764 MB / 415.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.04293, allocations: 4 kB / 415.3 MB, free: 12.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/0.04329, allocations: 175.7 kB / 415.5 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001674/0.04346, allocations: 83.58 kB / 415.5 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.528e-05/0.04349, allocations: 27.98 kB / 415.6 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.04475, allocations: 3.5 MB / 419.1 MB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.04475, allocations: 11.94 kB / 419.1 MB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/0.0461, allocations: 1.131 MB / 420.2 MB, free: 6.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.04616, allocations: 87.42 kB / 420.3 MB, free: 6.848 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/0.04621, allocations: 31.98 kB / 420.3 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002628/0.04648, allocations: 43.98 kB / 420.4 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.04658, allocations: 88.28 kB / 420.4 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.04661, allocations: 35.98 kB / 420.5 MB, free: 6.652 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002278/0.04684, allocations: 323 kB / 420.8 MB, free: 6.332 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04684, allocations: 0 / 420.8 MB, free: 6.332 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006373/0.04748, allocations: 331.2 kB / 421.1 MB, free: 6.008 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 (92): * Single equations (assignments): 90 * 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.0002453/0.04772, allocations: 167 kB / 421.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009612/0.04868, allocations: 0.9097 MB / 422.2 MB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.04869, allocations: 4 kB / 422.2 MB, free: 4.887 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.04914, allocations: 0.6132 MB / 422.8 MB, free: 4.238 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.04957, allocations: 97.56 kB / 422.9 MB, free: 4.145 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.05168, allocations: 1.719 MB / 424.6 MB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.0518, allocations: 177.8 kB / 424.8 MB, free: 2.082 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000276/0.05207, allocations: 129.6 kB / 424.9 MB, free: 1.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.05223, allocations: 72.47 kB / 425 MB, free: 1.883 MB / 394.7 MB Notification: Performance of SimCode: time 8.51e-07/0.05223, allocations: 0 / 425 MB, free: 1.883 MB / 394.7 MB Notification: Performance of Templates: time 0.01157/0.0638, allocations: 8.861 MB / 433.9 MB, free: 9.129 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.8086739750579]