Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009496/0.0009496, allocations: 82.59 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009275/0.0009275, allocations: 167.2 kB / 24.82 MB, free: 9.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9049/0.9049, allocations: 177 MB / 205.1 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2304/0.2304, allocations: 34.87 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.465e-05, allocations: 6.312 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.00543/0.005444, allocations: 7.104 MB / 386.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.008199, allocations: 2.268 MB / 388.6 MB, free: 8.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003361/0.008535, allocations: 27.94 kB / 388.6 MB, free: 8.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.0105, allocations: 1.804 MB / 390.4 MB, free: 6.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009355/0.01143, allocations: 0.6988 MB / 391.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007971/0.01223, allocations: 0.7313 MB / 391.9 MB, free: 5.156 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008008/0.01303, allocations: 1.287 MB / 393.2 MB, free: 3.863 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007786/0.01381, allocations: 0.8595 MB / 394 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005631/0.01437, allocations: 0.756 MB / 394.8 MB, free: 2.219 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.01475, allocations: 0.5142 MB / 395.3 MB, free: 1.703 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.719e-05/0.01485, allocations: 108 kB / 395.4 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003781/0.01523, allocations: 291.6 kB / 395.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.01536, allocations: 282.9 kB / 395.9 MB, free: 1.035 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002492/0.0156, allocations: 418.9 kB / 396.4 MB, free: 0.625 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001084/0.01669, allocations: 1.09 MB / 397.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.01669, allocations: 3.938 kB / 397.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01669, allocations: 0 / 397.5 MB, free: 15.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.0167, allocations: 4 kB / 397.5 MB, free: 15.52 MB / 378.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.00222/0.01892, allocations: 1.889 MB / 399.3 MB, free: 13.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.01895, allocations: 8.031 kB / 399.4 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.02347, allocations: 1.588 MB / 400.9 MB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005283/0.024, allocations: 0.5138 MB / 401.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/0.02405, allocations: 99.03 kB / 401.6 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.02417, allocations: 136.3 kB / 401.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.02507, allocations: 0.9654 MB / 402.6 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.0251, allocations: 15.88 kB / 402.7 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.259e-05/0.02517, allocations: 52 kB / 402.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.02519, allocations: 32 kB / 402.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000738/0.02593, allocations: 0.7036 MB / 403.4 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004038/0.02996, allocations: 3.588 MB / 407 MB, free: 5.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.03071, allocations: 0.6354 MB / 407.7 MB, free: 5.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.03088, allocations: 179 kB / 407.8 MB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.03095, allocations: 52.95 kB / 407.9 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.03098, allocations: 54.31 kB / 408 MB, free: 4.746 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.375e-06/0.03098, allocations: 0 / 408 MB, free: 4.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.0008173/0.0318, allocations: 0.6204 MB / 408.6 MB, free: 4.109 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.03183, allocations: 68.34 kB / 408.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.03213, allocations: 0.4942 MB / 409.1 MB, free: 3.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.613e-05/0.03216, allocations: 41.7 kB / 409.2 MB, free: 3.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.03238, allocations: 0.596 MB / 409.8 MB, free: 2.867 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000148/0.03253, allocations: 333.2 kB / 410.1 MB, free: 2.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.03272, allocations: 224.4 kB / 410.3 MB, free: 2.312 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.03286, allocations: 0.5468 MB / 410.9 MB, free: 1.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.03302, allocations: 134.5 kB / 411 MB, free: 1.621 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/0.03359, allocations: 0.5139 MB / 411.5 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.03413, allocations: 0.7341 MB / 412.2 MB, free: 72 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.03414, allocations: 4 kB / 412.2 MB, free: 68 kB / 378.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0008255/0.03497, allocations: 0.7859 MB / 413 MB, free: 15.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.03498, allocations: 12.03 kB / 413 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.03499, allocations: 15.83 kB / 413.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/0.03518, allocations: 83.23 kB / 413.1 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/0.03567, allocations: 263.6 kB / 413.4 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.03691, allocations: 3.466 MB / 416.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.03725, allocations: 111.2 kB / 417 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.03729, allocations: 39.98 kB / 417 MB, free: 11.05 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.0001791/0.03747, allocations: 228.2 kB / 417.2 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.223e-05/0.03756, allocations: 99.58 kB / 417.3 MB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007748/0.03833, allocations: 0.838 MB / 418.2 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.03834, allocations: 12 kB / 418.2 MB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.03834, allocations: 7.922 kB / 418.2 MB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.03835, allocations: 3.984 kB / 418.2 MB, free: 9.816 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.04012, allocations: 1.635 MB / 419.8 MB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.04012, allocations: 4 kB / 419.8 MB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003653/0.04049, allocations: 179.7 kB / 420 MB, free: 7.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001522/0.04064, allocations: 75.53 kB / 420.1 MB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.332e-05/0.04067, allocations: 31.98 kB / 420.1 MB, free: 7.738 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001164/0.04184, allocations: 3.47 MB / 423.6 MB, free: 4.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.04184, allocations: 11.94 kB / 423.6 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.04268, allocations: 1.045 MB / 424.6 MB, free: 2.848 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.04274, allocations: 83.41 kB / 424.7 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.04279, allocations: 28.12 kB / 424.7 MB, free: 2.738 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.04305, allocations: 47.97 kB / 424.8 MB, free: 2.691 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.04313, allocations: 84.34 kB / 424.9 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.04316, allocations: 31.98 kB / 424.9 MB, free: 2.574 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001772/0.04334, allocations: 306.9 kB / 425.2 MB, free: 2.277 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04334, allocations: 0 / 425.2 MB, free: 2.277 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008616/0.0442, allocations: 355.1 kB / 425.6 MB, free: 1.93 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.0001929/0.0444, allocations: 171 kB / 425.7 MB, free: 1.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000742/0.04514, allocations: 0.8757 MB / 426.6 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.04514, allocations: 0 / 426.6 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.04551, allocations: 0.5954 MB / 427.2 MB, free: 224 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.04592, allocations: 110.8 kB / 427.3 MB, free: 116 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.04791, allocations: 1.785 MB / 429.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.04803, allocations: 185.9 kB / 429.3 MB, free: 13.97 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002844/0.04831, allocations: 125.9 kB / 429.4 MB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.04861, allocations: 218.1 kB / 429.6 MB, free: 13.63 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04861, allocations: 4 kB / 429.6 MB, free: 13.63 MB / 410.7 MB Notification: Performance of Templates: time 0.01226/0.06087, allocations: 9.881 MB / 439.5 MB, free: 3.855 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.1216468322090805]