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.001964/0.001964, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00205/0.00205, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.647/1.647, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3782/0.3782, allocations: 34.26 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.633e-06/1.633e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.974e-05/3.137e-05, allocations: 2.312 kB / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.01083/0.01086, allocations: 7.217 MB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005348/0.01621, allocations: 2.272 MB / 386.7 MB, free: 9.352 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006369/0.01685, allocations: 27.94 kB / 386.7 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004719/0.02156, allocations: 1.839 MB / 388.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.02386, allocations: 0.7222 MB / 389.3 MB, free: 6.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.02567, allocations: 0.7203 MB / 390 MB, free: 6.027 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001834/0.02751, allocations: 1.295 MB / 391.3 MB, free: 4.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.02923, allocations: 0.8633 MB / 392.2 MB, free: 3.836 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.03035, allocations: 0.7521 MB / 392.9 MB, free: 3.082 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000747/0.0311, allocations: 0.5103 MB / 393.4 MB, free: 2.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.03127, allocations: 111.9 kB / 393.6 MB, free: 2.461 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.03198, allocations: 283.7 kB / 393.8 MB, free: 2.184 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.03225, allocations: 278.8 kB / 394.1 MB, free: 1.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006653/0.03291, allocations: 418.9 kB / 394.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.03511, allocations: 1.643 MB / 396.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.03511, allocations: 0 / 396.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.03511, allocations: 0 / 396.2 MB, free: 15.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.03514, allocations: 7.938 kB / 396.2 MB, free: 15.84 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.00485/0.03999, allocations: 1.948 MB / 398.1 MB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.04002, allocations: 8.031 kB / 398.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009613/0.04964, allocations: 1.584 MB / 399.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.0508, allocations: 0.5139 MB / 400.2 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.0509, allocations: 95.03 kB / 400.3 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.05114, allocations: 144.3 kB / 400.4 MB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/0.05384, allocations: 1.375 MB / 401.8 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.05389, allocations: 19.86 kB / 401.8 MB, free: 10.03 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.05403, allocations: 52 kB / 401.9 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.404e-05/0.05407, allocations: 32 kB / 401.9 MB, free: 9.945 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002683/0.05675, allocations: 1.392 MB / 403.3 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008832/0.06558, allocations: 4.121 MB / 407.4 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/0.06758, allocations: 0.8307 MB / 408.3 MB, free: 3.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.06819, allocations: 331 kB / 408.6 MB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.06834, allocations: 36.97 kB / 408.6 MB, free: 3.125 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.06854, allocations: 50.39 kB / 408.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 2.905e-06/0.06854, allocations: 0 / 408.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.002467/0.07101, allocations: 1.03 MB / 409.7 MB, free: 2.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.07108, allocations: 60.41 kB / 409.8 MB, free: 1.949 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008124/0.07189, allocations: 0.6155 MB / 410.4 MB, free: 1.316 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.07195, allocations: 41.7 kB / 410.4 MB, free: 1.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004954/0.07244, allocations: 0.6078 MB / 411 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003213/0.07277, allocations: 337.2 kB / 411.4 MB, free: 328 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003953/0.07316, allocations: 232.5 kB / 411.6 MB, free: 88 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003899/0.07355, allocations: 0.5743 MB / 412.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006987/0.07425, allocations: 330.5 kB / 412.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.07537, allocations: 0.7288 MB / 413.2 MB, free: 14.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.07717, allocations: 1.105 MB / 414.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.07718, allocations: 0 / 414.3 MB, free: 13.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.002315/0.07949, allocations: 1.187 MB / 415.5 MB, free: 11.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.07952, allocations: 11.98 kB / 415.5 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.07954, allocations: 12.78 kB / 415.5 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005934/0.08013, allocations: 91.31 kB / 415.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.08118, allocations: 263.6 kB / 415.9 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.0845, allocations: 3.629 MB / 419.5 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/0.08534, allocations: 115.1 kB / 419.6 MB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.08544, allocations: 56.14 kB / 419.7 MB, free: 7.41 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.0005133/0.08595, allocations: 308.2 kB / 420 MB, free: 7.098 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.08615, allocations: 95.62 kB / 420.1 MB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002162/0.08831, allocations: 1.151 MB / 421.2 MB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.08832, allocations: 12 kB / 421.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.08832, allocations: 0 / 421.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/0.08833, allocations: 3.984 kB / 421.2 MB, free: 5.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/0.0929, allocations: 2.408 MB / 423.6 MB, free: 3.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.09291, allocations: 4 kB / 423.6 MB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007709/0.09368, allocations: 183.8 kB / 423.8 MB, free: 3.055 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003509/0.09403, allocations: 91.23 kB / 423.9 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.06e-05/0.09409, allocations: 24 kB / 423.9 MB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003151/0.09724, allocations: 3.625 MB / 427.6 MB, free: 15.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.09725, allocations: 16.19 kB / 427.6 MB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/0.09993, allocations: 1.553 MB / 429.1 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.1001, allocations: 75.42 kB / 429.2 MB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.1003, allocations: 35.92 kB / 429.2 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006083/0.1009, allocations: 48.02 kB / 429.3 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.101, allocations: 80.41 kB / 429.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.1011, allocations: 39.98 kB / 429.4 MB, free: 13.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006663/0.1018, allocations: 415 kB / 429.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1018, allocations: 0 / 429.8 MB, free: 12.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001128/0.1029, allocations: 343.1 kB / 430.1 MB, free: 12.34 MB / 410.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.0003332/0.1032, allocations: 171 kB / 430.3 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/0.1054, allocations: 1.215 MB / 431.5 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.1054, allocations: 7.938 kB / 431.5 MB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.1065, allocations: 0.7299 MB / 432.3 MB, free: 10.15 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.1072, allocations: 113.7 kB / 432.4 MB, free: 10.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003589/0.1108, allocations: 1.899 MB / 434.3 MB, free: 7.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005145/0.1113, allocations: 423.5 kB / 434.7 MB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004963/0.1118, allocations: 125.9 kB / 434.8 MB, free: 7.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002443/0.112, allocations: 76.48 kB / 434.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of SimCode: time 1.673e-06/0.112, allocations: 0 / 434.9 MB, free: 7.348 MB / 410.7 MB Notification: Performance of Templates: time 0.1638/0.2759, allocations: 9.01 MB / 443.9 MB, free: 97.79 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.8924198020249605]