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.00101/0.00101, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001722/0.001722, allocations: 164.2 kB / 24.91 MB, free: 8.762 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 1.062/1.062, allocations: 177 MB / 205.2 MB, free: 5.039 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.2803/0.2803, allocations: 34.86 MB / 296.6 MB, free: 396 kB / 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.583e-06/1.583e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.408e-05, allocations: 5.406 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.005966/0.00599, allocations: 7.155 MB / 333.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.01015, allocations: 2.369 MB / 335.5 MB, free: 13.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000585/0.01074, allocations: 23.94 kB / 335.5 MB, free: 13.49 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.0128, allocations: 1.839 MB / 337.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001433/0.01423, allocations: 0.7105 MB / 338.1 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.01528, allocations: 0.7255 MB / 338.8 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001302/0.01658, allocations: 1.291 MB / 340.1 MB, free: 8.902 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.01774, allocations: 0.9102 MB / 341 MB, free: 7.957 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007896/0.01853, allocations: 0.756 MB / 341.7 MB, free: 7.199 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005225/0.01905, allocations: 0.5142 MB / 342.3 MB, free: 6.684 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001263/0.01918, allocations: 108 kB / 342.4 MB, free: 6.578 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006486/0.01982, allocations: 303.5 kB / 342.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.01998, allocations: 278.9 kB / 342.9 MB, free: 6.008 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.02029, allocations: 426.8 kB / 343.3 MB, free: 5.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.02145, allocations: 1.089 MB / 344.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.02145, allocations: 0 / 344.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02145, allocations: 0 / 344.4 MB, free: 4.496 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.497e-05/0.02148, allocations: 0 / 344.4 MB, free: 4.496 MB / 314.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.002733/0.02421, allocations: 1.827 MB / 346.3 MB, free: 2.641 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.02425, allocations: 8.031 kB / 346.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005555/0.0298, allocations: 1.772 MB / 348 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006933/0.03049, allocations: 335.6 kB / 348.4 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/0.03055, allocations: 103 kB / 348.5 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.03069, allocations: 140.3 kB / 348.6 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009742/0.03166, allocations: 0.9966 MB / 349.6 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.0317, allocations: 7.938 kB / 349.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.339e-05/0.03176, allocations: 52 kB / 349.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/0.03178, allocations: 32 kB / 349.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007858/0.03257, allocations: 0.5945 MB / 350.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004107/0.03668, allocations: 2.962 MB / 353.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/0.03743, allocations: 0.5851 MB / 353.8 MB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/0.03763, allocations: 156.2 kB / 354 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.03773, allocations: 36.97 kB / 354 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.03777, allocations: 43.56 kB / 354.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of pre-optimization done (n=90): time 3.777e-06/0.03778, allocations: 0 / 354.1 MB, free: 10.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=90): time 0.001056/0.03883, allocations: 500 kB / 354.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.03887, allocations: 64.34 kB / 354.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.03928, allocations: 426.8 kB / 355 MB, free: 9.617 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.619e-05/0.03933, allocations: 41.7 kB / 355.1 MB, free: 9.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003004/0.03963, allocations: 0.5274 MB / 355.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.03984, allocations: 317.2 kB / 355.9 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.0401, allocations: 202.7 kB / 356.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.04023, allocations: 374.6 kB / 356.5 MB, free: 8.145 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.04044, allocations: 110.6 kB / 356.6 MB, free: 8.035 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.04086, allocations: 401.6 kB / 357 MB, free: 7.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007662/0.04162, allocations: 0.6044 MB / 357.6 MB, free: 6.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.04164, allocations: 7.938 kB / 357.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001074/0.04271, allocations: 0.6143 MB / 358.2 MB, free: 6.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.04274, allocations: 11.98 kB / 358.2 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.04276, allocations: 8 kB / 358.2 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002929/0.04305, allocations: 73.88 kB / 358.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.04392, allocations: 279.6 kB / 358.6 MB, free: 5.809 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.04567, allocations: 2.364 MB / 360.9 MB, free: 3.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006374/0.04631, allocations: 111.2 kB / 361 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-05/0.04639, allocations: 35.98 kB / 361.1 MB, free: 3.125 MB / 330.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.0002973/0.04669, allocations: 181.7 kB / 361.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.04681, allocations: 71.94 kB / 361.3 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.04789, allocations: 0.6878 MB / 362 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.0479, allocations: 12 kB / 362 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.04791, allocations: 0 / 362 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.04792, allocations: 7.922 kB / 362 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.05001, allocations: 1.245 MB / 363.3 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.05002, allocations: 8 kB / 363.3 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.05047, allocations: 204.5 kB / 363.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000171/0.05064, allocations: 61.66 kB / 363.5 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/0.05068, allocations: 27.98 kB / 363.6 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/0.05193, allocations: 2.365 MB / 365.9 MB, free: 13.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.565e-06/0.05194, allocations: 8 kB / 365.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000881/0.05282, allocations: 0.8004 MB / 366.7 MB, free: 13.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.05291, allocations: 79.36 kB / 366.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.792e-05/0.05298, allocations: 27.98 kB / 366.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.05325, allocations: 48.05 kB / 366.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.05336, allocations: 88.28 kB / 367 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.05339, allocations: 27.98 kB / 367 MB, free: 12.76 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.05354, allocations: 172.7 kB / 367.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05354, allocations: 0 / 367.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007514/0.0543, allocations: 351.1 kB / 367.5 MB, free: 12.25 MB / 346.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.0002235/0.05452, allocations: 156.1 kB / 367.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007602/0.05528, allocations: 0.7207 MB / 368.4 MB, free: 11.35 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/0.0553, allocations: 8.5 kB / 368.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.05564, allocations: 478.7 kB / 368.9 MB, free: 10.85 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.05601, allocations: 97.83 kB / 369 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002043/0.05806, allocations: 1.719 MB / 370.7 MB, free: 8.918 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.05819, allocations: 189.8 kB / 370.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003111/0.0585, allocations: 129.9 kB / 371 MB, free: 8.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002946/0.0588, allocations: 187.3 kB / 371.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.0588, allocations: 0 / 371.2 MB, free: 8.398 MB / 346.7 MB Notification: Performance of Templates: time 0.01311/0.07191, allocations: 9.813 MB / 381 MB, free: 14.76 MB / 362.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 -s gbode -gbm=radauIIA3 -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.3066890123300254]