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.0009323/0.0009323, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.004755/0.004755, allocations: 158.5 kB / 24.7 MB, free: 9.441 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.9041/0.9041, allocations: 177 MB / 204.9 MB, free: 5.758 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.263/0.263, allocations: 34.24 MB / 295.6 MB, free: 0.6953 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 2.084e-06/2.084e-06, allocations: 0 / 443.4 MB, free: 1.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.176e-05/3.384e-05, allocations: 5.094 kB / 443.4 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.2023/0.2023, allocations: 6.589 MB / 450 MB, free: 40.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2046, allocations: 2.214 MB / 452.2 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002849/0.2049, allocations: 29.72 kB / 452.3 MB, free: 39.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.2063, allocations: 1.716 MB / 454 MB, free: 38.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.2071, allocations: 0.7154 MB / 454.7 MB, free: 37.91 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.2078, allocations: 0.7209 MB / 455.4 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005982/0.2084, allocations: 1.288 MB / 456.7 MB, free: 36.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006807/0.2091, allocations: 0.856 MB / 457.6 MB, free: 36.33 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004644/0.2095, allocations: 0.7479 MB / 458.3 MB, free: 36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.2099, allocations: 0.5112 MB / 458.8 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.715e-05/0.21, allocations: 106.3 kB / 458.9 MB, free: 35.82 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003209/0.2103, allocations: 286.3 kB / 459.2 MB, free: 35.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.523e-05/0.2104, allocations: 282.1 kB / 459.5 MB, free: 35.56 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.2106, allocations: 419.5 kB / 459.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003883/0.2145, allocations: 1.629 MB / 461.5 MB, free: 34.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.2145, allocations: 0 / 461.5 MB, free: 34.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2145, allocations: 4 kB / 461.5 MB, free: 34.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.259e-05/0.2145, allocations: 3 kB / 461.5 MB, free: 34.71 MB / 410.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.004187/0.2187, allocations: 1.75 MB / 463.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.2187, allocations: 9 kB / 463.3 MB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004259/0.223, allocations: 1.267 MB / 464.5 MB, free: 33.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008261/0.2238, allocations: 0.5093 MB / 465.1 MB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.2239, allocations: 95.66 kB / 465.1 MB, free: 33.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.224, allocations: 136 kB / 465.3 MB, free: 33.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2254, allocations: 1.425 MB / 466.7 MB, free: 32.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.2255, allocations: 7.25 kB / 466.7 MB, free: 32.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.182e-05/0.2255, allocations: 57.19 kB / 466.8 MB, free: 32.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.2255, allocations: 31.47 kB / 466.8 MB, free: 32.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001406/0.2269, allocations: 1.438 MB / 468.2 MB, free: 31.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004106/0.2311, allocations: 3.608 MB / 471.8 MB, free: 29.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000981/0.232, allocations: 0.8127 MB / 472.7 MB, free: 29.53 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.2324, allocations: 335.5 kB / 473 MB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.298e-05/0.2324, allocations: 34.69 kB / 473 MB, free: 29.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2325, allocations: 45 kB / 473.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=90): time 3.536e-06/0.2325, allocations: 0 / 473.1 MB, free: 29.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=90): time 0.001278/0.2337, allocations: 1.034 MB / 474.1 MB, free: 28.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2338, allocations: 62 kB / 474.2 MB, free: 28.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.2341, allocations: 0.5123 MB / 474.7 MB, free: 28.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.2342, allocations: 40.52 kB / 474.7 MB, free: 28.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.2343, allocations: 0.5473 MB / 475.3 MB, free: 28.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.2344, allocations: 317.6 kB / 475.6 MB, free: 27.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.2346, allocations: 201.4 kB / 475.8 MB, free: 27.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.2347, allocations: 374.6 kB / 476.1 MB, free: 27.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.235, allocations: 346.4 kB / 476.5 MB, free: 27.27 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004475/0.2355, allocations: 0.6197 MB / 477.1 MB, free: 26.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008261/0.2363, allocations: 1.003 MB / 478.1 MB, free: 26.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2363, allocations: 3 kB / 478.1 MB, free: 26.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.001166/0.2375, allocations: 1.167 MB / 479.3 MB, free: 25.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2375, allocations: 8.906 kB / 479.3 MB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2375, allocations: 5.812 kB / 479.3 MB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.2377, allocations: 64.2 kB / 479.3 MB, free: 25.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.2382, allocations: 271.2 kB / 479.6 MB, free: 25.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.2392, allocations: 2.564 MB / 482.2 MB, free: 23.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004433/0.2396, allocations: 116.8 kB / 482.3 MB, free: 22.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.2397, allocations: 57.02 kB / 482.3 MB, free: 22.93 MB / 410.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.000286/0.24, allocations: 257.8 kB / 482.6 MB, free: 22.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.848e-05/0.24, allocations: 66.17 kB / 482.7 MB, free: 22.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.2411, allocations: 1.084 MB / 483.7 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.2411, allocations: 9.438 kB / 483.7 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.2411, allocations: 5.312 kB / 483.7 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2411, allocations: 3.422 kB / 483.8 MB, free: 22.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002233/0.2434, allocations: 2.102 MB / 485.9 MB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.2434, allocations: 5.625 kB / 485.9 MB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003913/0.2438, allocations: 181.5 kB / 486 MB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001333/0.2439, allocations: 62.56 kB / 486.1 MB, free: 20.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.2439, allocations: 36.36 kB / 486.1 MB, free: 20.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008989/0.2448, allocations: 2.559 MB / 488.7 MB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.2448, allocations: 10.66 kB / 488.7 MB, free: 18.37 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/0.2462, allocations: 1.445 MB / 490.1 MB, free: 17.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2463, allocations: 83.73 kB / 490.2 MB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.2464, allocations: 38.39 kB / 490.3 MB, free: 17.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000295/0.2467, allocations: 47.64 kB / 490.3 MB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.2468, allocations: 79.81 kB / 490.4 MB, free: 17.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.871e-05/0.2468, allocations: 38.61 kB / 490.4 MB, free: 17.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002879/0.2471, allocations: 357.9 kB / 490.8 MB, free: 17.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2471, allocations: 0 / 490.8 MB, free: 17.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008522/0.248, allocations: 342.7 kB / 491.1 MB, free: 17.12 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.0002584/0.2482, allocations: 168.6 kB / 491.3 MB, free: 16.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.2495, allocations: 1.058 MB / 492.3 MB, free: 16.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.2495, allocations: 1.5 kB / 492.3 MB, free: 16.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.25, allocations: 0.5908 MB / 492.9 MB, free: 16.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.2504, allocations: 103.1 kB / 493 MB, free: 16.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.2526, allocations: 1.826 MB / 494.9 MB, free: 14.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.2529, allocations: 425.9 kB / 495.3 MB, free: 14.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.2531, allocations: 95.2 kB / 495.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of SimCode: time 1.292e-06/0.2531, allocations: 0 / 495.4 MB, free: 14.79 MB / 410.7 MB Notification: Performance of Templates: time 0.02209/0.2752, allocations: 21.12 MB / 0.5044 GB, free: 6.207 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.924960044212639]