Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0007945/0.0007945, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.0009931/0.0009931, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9656/0.9656, allocations: 158.6 MB / 185.9 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.147/0.147, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.411e-05/3.663e-05, allocations: 4.281 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.007398/0.007435, allocations: 6.593 MB / 354.7 MB, free: 2.551 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003304/0.01074, allocations: 2.128 MB / 356.8 MB, free: 424 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.01129, allocations: 23.94 kB / 356.9 MB, free: 400 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.01315, allocations: 1.571 MB / 358.4 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001304/0.01445, allocations: 0.7029 MB / 359.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009597/0.01541, allocations: 0.6814 MB / 359.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.01686, allocations: 1.221 MB / 361 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.01794, allocations: 0.7569 MB / 361.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.01915, allocations: 0.7092 MB / 362.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005125/0.01966, allocations: 486.6 kB / 363 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001339/0.01979, allocations: 96 kB / 363.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.02038, allocations: 283.5 kB / 363.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001646/0.02054, allocations: 258.9 kB / 363.6 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.02091, allocations: 402.9 kB / 364 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.02225, allocations: 1.012 MB / 365 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.02226, allocations: 0 / 365 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.02226, allocations: 0 / 365 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.949e-05/0.02229, allocations: 4 kB / 365 MB, free: 8.184 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 316 * Number of variables: 316 Notification: Performance of Generate backend data structure: time 0.003004/0.02529, allocations: 1.779 MB / 366.8 MB, free: 6.363 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.02534, allocations: 8.031 kB / 366.8 MB, free: 6.355 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.03068, allocations: 1.768 MB / 368.6 MB, free: 4.586 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.0314, allocations: 0.4905 MB / 369.1 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/0.03146, allocations: 94.42 kB / 369.2 MB, free: 3.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.0316, allocations: 135.9 kB / 369.3 MB, free: 3.836 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009935/0.03259, allocations: 0.9354 MB / 370.2 MB, free: 2.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.03262, allocations: 3.953 kB / 370.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.03269, allocations: 52 kB / 370.3 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.03271, allocations: 32 kB / 370.3 MB, free: 2.738 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008004/0.03351, allocations: 0.6939 MB / 371 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00444/0.03795, allocations: 3.295 MB / 374.3 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007987/0.03875, allocations: 0.6635 MB / 375 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.03893, allocations: 177.6 kB / 375.1 MB, free: 13.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.487e-05/0.039, allocations: 32.97 kB / 375.2 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.03903, allocations: 54.38 kB / 375.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=91): time 1.883e-06/0.03903, allocations: 0 / 375.2 MB, free: 13.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=91): time 0.0008395/0.03987, allocations: 0.6165 MB / 375.8 MB, free: 13.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.03991, allocations: 64.41 kB / 375.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.04023, allocations: 498 kB / 376.4 MB, free: 12.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.04027, allocations: 45.69 kB / 376.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.04054, allocations: 0.561 MB / 377 MB, free: 11.89 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.04072, allocations: 329.2 kB / 377.3 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000204/0.04092, allocations: 216.4 kB / 377.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.04111, allocations: 0.5623 MB / 378.1 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001913/0.0413, allocations: 134.5 kB / 378.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.04167, allocations: 0.5063 MB / 378.7 MB, free: 9.984 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.04229, allocations: 0.7072 MB / 379.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.0423, allocations: 0 / 379.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001298/0.0436, allocations: 0.785 MB / 380.2 MB, free: 8.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.04361, allocations: 8 kB / 380.2 MB, free: 8.316 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.04363, allocations: 15.92 kB / 380.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000205/0.04383, allocations: 80.09 kB / 380.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004915/0.04432, allocations: 259.6 kB / 380.6 MB, free: 7.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.04589, allocations: 3.465 MB / 384 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.04626, allocations: 127.1 kB / 384.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.0463, allocations: 36 kB / 384.2 MB, free: 4.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.0001942/0.04649, allocations: 224.5 kB / 384.4 MB, free: 3.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/0.04659, allocations: 95.62 kB / 384.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008035/0.04739, allocations: 0.8458 MB / 385.3 MB, free: 2.895 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.0474, allocations: 12 kB / 385.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.0474, allocations: 0 / 385.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.04741, allocations: 3.984 kB / 385.4 MB, free: 2.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.04927, allocations: 1.577 MB / 386.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.04928, allocations: 4 kB / 386.9 MB, free: 1.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.04963, allocations: 183.7 kB / 387.1 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.0498, allocations: 75.42 kB / 387.2 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.04983, allocations: 31.98 kB / 387.2 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.05123, allocations: 3.462 MB / 390.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.05124, allocations: 4 kB / 390.7 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009035/0.05214, allocations: 1.049 MB / 391.7 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.229e-05/0.05222, allocations: 87.36 kB / 391.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.05227, allocations: 28.05 kB / 391.9 MB, free: 11.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.05252, allocations: 51.97 kB / 391.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.05261, allocations: 92.28 kB / 392 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.05264, allocations: 28 kB / 392 MB, free: 11.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.05281, allocations: 311 kB / 392.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05281, allocations: 0 / 392.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000617/0.05343, allocations: 323.2 kB / 392.6 MB, free: 11.07 MB / 330.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 (94): * Single equations (assignments): 92 * 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.0002046/0.05363, allocations: 178.8 kB / 392.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007553/0.05439, allocations: 0.8637 MB / 393.7 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.05439, allocations: 4 kB / 393.7 MB, free: 10 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.05511, allocations: 0.5956 MB / 394.3 MB, free: 9.363 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.05551, allocations: 101.8 kB / 394.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.05765, allocations: 1.774 MB / 396.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.05778, allocations: 181.9 kB / 396.3 MB, free: 7.148 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003012/0.05808, allocations: 125.9 kB / 396.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.05837, allocations: 214.1 kB / 396.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.05838, allocations: 4 kB / 396.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of Templates: time 0.01312/0.07149, allocations: 9.467 MB / 406.1 MB, free: 13.4 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.458474715705961]