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.001425/0.001425, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001738/0.001738, allocations: 156.9 kB / 24.26 MB, free: 176 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.526/1.526, allocations: 177 MB / 204.4 MB, free: 5.613 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.3667/0.3667, allocations: 34.24 MB / 295.2 MB, free: 0.6367 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 5.26e-06/5.26e-06, allocations: 3.984 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.915e-05, allocations: 6.312 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009569/0.009598, allocations: 6.599 MB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004742/0.01434, allocations: 2.221 MB / 386 MB, free: 10.03 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.01485, allocations: 27.94 kB / 386.1 MB, free: 10 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004328/0.01918, allocations: 1.718 MB / 387.8 MB, free: 8.277 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.02096, allocations: 0.7027 MB / 388.5 MB, free: 7.57 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.02255, allocations: 0.7156 MB / 389.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001515/0.02406, allocations: 1.295 MB / 390.5 MB, free: 5.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.02539, allocations: 0.8594 MB / 391.3 MB, free: 4.668 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.02641, allocations: 0.7521 MB / 392.1 MB, free: 3.914 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000722/0.02714, allocations: 0.5064 MB / 392.6 MB, free: 3.406 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001584/0.02729, allocations: 104 kB / 392.7 MB, free: 3.305 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006174/0.02791, allocations: 287.6 kB / 393 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003086/0.02822, allocations: 278.8 kB / 393.3 MB, free: 2.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.02878, allocations: 422.9 kB / 393.7 MB, free: 2.336 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.03129, allocations: 1.639 MB / 395.3 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.03129, allocations: 3.938 kB / 395.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0313, allocations: 0 / 395.3 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.03131, allocations: 0 / 395.3 MB, free: 0.6875 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: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.004457/0.03577, allocations: 1.75 MB / 397.1 MB, free: 14.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.03581, allocations: 8.031 kB / 397.1 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009327/0.04513, allocations: 1.565 MB / 398.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.04669, allocations: 0.5111 MB / 399.1 MB, free: 12.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.0468, allocations: 99.03 kB / 399.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.04705, allocations: 140.3 kB / 399.4 MB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002685/0.04974, allocations: 1.422 MB / 400.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.091e-05/0.04978, allocations: 3.938 kB / 400.8 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.04992, allocations: 59.98 kB / 400.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/0.04996, allocations: 32 kB / 400.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002903/0.05286, allocations: 1.443 MB / 402.3 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007971/0.06083, allocations: 3.674 MB / 406 MB, free: 5.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.06276, allocations: 0.8068 MB / 406.8 MB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.06342, allocations: 340.2 kB / 407.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.06354, allocations: 44.97 kB / 407.2 MB, free: 4.566 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.06359, allocations: 39.56 kB / 407.2 MB, free: 4.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=90): time 5.26e-06/0.06359, allocations: 3.984 kB / 407.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=90): time 0.002514/0.06611, allocations: 1.064 MB / 408.3 MB, free: 3.438 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.06616, allocations: 64.41 kB / 408.4 MB, free: 3.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009374/0.0671, allocations: 0.5054 MB / 408.9 MB, free: 2.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.538e-05/0.06716, allocations: 45.7 kB / 408.9 MB, free: 2.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.06761, allocations: 0.5387 MB / 409.5 MB, free: 2.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003146/0.06792, allocations: 317.2 kB / 409.8 MB, free: 1.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003501/0.06827, allocations: 202.8 kB / 410 MB, free: 1.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.0685, allocations: 370.8 kB / 410.3 MB, free: 1.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/0.06921, allocations: 346.5 kB / 410.7 MB, free: 1.027 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.07023, allocations: 0.6149 MB / 411.3 MB, free: 308 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.07201, allocations: 1.003 MB / 412.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.557e-06/0.07202, allocations: 8 kB / 412.3 MB, free: 15.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.00238/0.0744, allocations: 1.205 MB / 413.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.07442, allocations: 12.89 kB / 413.5 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.07444, allocations: 12 kB / 413.5 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/0.07489, allocations: 85.59 kB / 413.6 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.07596, allocations: 267.6 kB / 413.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002904/0.07887, allocations: 2.568 MB / 416.4 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007866/0.07965, allocations: 119.4 kB / 416.5 MB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.084e-05/0.07975, allocations: 55.94 kB / 416.6 MB, free: 10.64 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.0004394/0.08018, allocations: 261.5 kB / 416.9 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.08038, allocations: 95.58 kB / 417 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.08248, allocations: 1.084 MB / 418 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.08249, allocations: 12 kB / 418 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.0825, allocations: 4 kB / 418.1 MB, free: 9.156 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.08251, allocations: 3.984 kB / 418.1 MB, free: 9.152 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003855/0.08637, allocations: 2.096 MB / 420.2 MB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.08638, allocations: 7.984 kB / 420.2 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007654/0.08714, allocations: 183.7 kB / 420.3 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003392/0.08748, allocations: 81.84 kB / 420.4 MB, free: 6.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/0.08754, allocations: 27.98 kB / 420.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.09023, allocations: 2.572 MB / 423 MB, free: 3.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.09024, allocations: 4 kB / 423 MB, free: 3.852 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002569/0.09281, allocations: 1.474 MB / 424.5 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.09295, allocations: 83.42 kB / 424.6 MB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.09305, allocations: 27.94 kB / 424.6 MB, free: 2.168 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/0.09365, allocations: 47.97 kB / 424.7 MB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.09381, allocations: 88.34 kB / 424.7 MB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.311e-05/0.09388, allocations: 31.98 kB / 424.8 MB, free: 2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000477/0.09435, allocations: 355.2 kB / 425.1 MB, free: 1.656 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.09435, allocations: 8 kB / 425.1 MB, free: 1.648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001105/0.09546, allocations: 347.1 kB / 425.5 MB, free: 1.309 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.0003179/0.09578, allocations: 171 kB / 425.6 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002038/0.09781, allocations: 1.047 MB / 426.7 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.09782, allocations: 4.688 kB / 426.7 MB, free: 68 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.09888, allocations: 0.5998 MB / 427.3 MB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006888/0.09957, allocations: 113.7 kB / 427.4 MB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.103, allocations: 1.82 MB / 429.2 MB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000809/0.1038, allocations: 431.3 kB / 429.6 MB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005122/0.1043, allocations: 121.9 kB / 429.8 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.1046, allocations: 84.47 kB / 429.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1046, allocations: 0 / 429.8 MB, free: 12.73 MB / 410.7 MB Notification: Performance of Templates: time 0.01992/0.1245, allocations: 8.939 MB / 438.8 MB, free: 3.906 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] 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.666543373954482]