Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002467/0.002467, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.577/1.577, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3509/0.3509, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 375.3 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.239e-05/4.404e-05, allocations: 2.312 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.009821/0.009865, allocations: 6.133 MB / 381.4 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005824/0.01569, allocations: 2.143 MB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.01677, allocations: 23.94 kB / 383.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004442/0.02121, allocations: 1.493 MB / 385.1 MB, free: 11.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00271/0.02392, allocations: 0.6756 MB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001957/0.02588, allocations: 0.6915 MB / 386.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.02796, allocations: 1.198 MB / 387.6 MB, free: 8.555 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.02964, allocations: 0.7529 MB / 388.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.03102, allocations: 0.682 MB / 389.1 MB, free: 7.098 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008761/0.0319, allocations: 470.6 kB / 389.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.03208, allocations: 96 kB / 389.6 MB, free: 6.543 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007437/0.03282, allocations: 283.6 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.03306, allocations: 247 kB / 390.1 MB, free: 6.023 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004868/0.03355, allocations: 394.9 kB / 390.5 MB, free: 5.637 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.03561, allocations: 1.487 MB / 392 MB, free: 4.145 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.03561, allocations: 0 / 392 MB, free: 4.145 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.03561, allocations: 0 / 392 MB, free: 4.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.03563, allocations: 0 / 392 MB, free: 4.145 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: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 0.004893/0.04052, allocations: 1.632 MB / 393.6 MB, free: 2.477 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.04056, allocations: 8.031 kB / 393.6 MB, free: 2.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009669/0.05023, allocations: 1.545 MB / 395.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/0.05157, allocations: 495.5 kB / 395.7 MB, free: 420 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/0.05167, allocations: 90.78 kB / 395.8 MB, free: 328 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.05192, allocations: 128.1 kB / 395.9 MB, free: 200 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.05451, allocations: 1.324 MB / 397.2 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.05455, allocations: 7.938 kB / 397.2 MB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.05469, allocations: 52 kB / 397.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.138e-05/0.05472, allocations: 28 kB / 397.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.05744, allocations: 1.364 MB / 398.7 MB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007703/0.06515, allocations: 3.362 MB / 402 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001898/0.06705, allocations: 0.7928 MB / 402.8 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006414/0.06769, allocations: 329.6 kB / 403.1 MB, free: 8.781 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001325/0.06782, allocations: 36.97 kB / 403.2 MB, free: 8.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.06787, allocations: 47.5 kB / 403.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.896e-06/0.06787, allocations: 0 / 403.2 MB, free: 8.691 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.002528/0.0704, allocations: 1.06 MB / 404.3 MB, free: 7.621 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.07046, allocations: 64.34 kB / 404.3 MB, free: 7.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006938/0.07115, allocations: 493.3 kB / 404.8 MB, free: 7.055 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.108e-05/0.07122, allocations: 41.7 kB / 404.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005513/0.07177, allocations: 0.496 MB / 405.4 MB, free: 6.504 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.07208, allocations: 313.3 kB / 405.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.07242, allocations: 190.8 kB / 405.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002265/0.07264, allocations: 370.8 kB / 406.2 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006982/0.07334, allocations: 334.5 kB / 406.5 MB, free: 5.305 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009809/0.07432, allocations: 0.5661 MB / 407.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.07599, allocations: 0.931 MB / 408 MB, free: 3.625 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.076, allocations: 0 / 408 MB, free: 3.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002627/0.07863, allocations: 1.158 MB / 409.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.07866, allocations: 8 kB / 409.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.07868, allocations: 8.781 kB / 409.2 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.07915, allocations: 85.59 kB / 409.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.08017, allocations: 247.7 kB / 409.5 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.08289, allocations: 2.575 MB / 412.1 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/0.08385, allocations: 107.2 kB / 412.2 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.08394, allocations: 48.27 kB / 412.3 MB, free: 15.17 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (133): * Single equations (assignments): 131 * 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.0004877/0.08443, allocations: 253.5 kB / 412.5 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.08462, allocations: 87.62 kB / 412.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.08672, allocations: 1.077 MB / 413.7 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.08673, allocations: 8 kB / 413.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.08674, allocations: 4 kB / 413.7 MB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.08676, allocations: 7.922 kB / 413.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004201/0.09096, allocations: 2.073 MB / 415.8 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/0.09097, allocations: 8.031 kB / 415.8 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008015/0.09177, allocations: 171.8 kB / 415.9 MB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.09217, allocations: 85.59 kB / 416 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.607e-05/0.09225, allocations: 31.98 kB / 416.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002537/0.09479, allocations: 2.561 MB / 418.6 MB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/0.0948, allocations: 11.94 kB / 418.6 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002953/0.09775, allocations: 1.462 MB / 420.1 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002461/0.098, allocations: 87.52 kB / 420.2 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.09816, allocations: 28 kB / 420.2 MB, free: 6.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.09886, allocations: 51.91 kB / 420.3 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.09905, allocations: 88.34 kB / 420.3 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.09913, allocations: 31.98 kB / 420.4 MB, free: 6.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005502/0.09968, allocations: 343.1 kB / 420.7 MB, free: 6.258 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09968, allocations: 0 / 420.7 MB, free: 6.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001311/0.101, allocations: 319.3 kB / 421 MB, free: 5.945 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 (92): * Single equations (assignments): 90 * 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.0004636/0.1015, allocations: 174.9 kB / 421.2 MB, free: 5.766 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002407/0.1039, allocations: 1.026 MB / 422.2 MB, free: 4.715 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.1039, allocations: 5.625 kB / 422.2 MB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.105, allocations: 0.5875 MB / 422.8 MB, free: 4.098 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.1059, allocations: 97.56 kB / 422.9 MB, free: 4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.1099, allocations: 1.731 MB / 424.6 MB, free: 2.156 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.1105, allocations: 402.2 kB / 425 MB, free: 1.73 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.1111, allocations: 121.6 kB / 425.1 MB, free: 1.609 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002499/0.1113, allocations: 76.47 kB / 425.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of SimCode: time 2.134e-06/0.1113, allocations: 0 / 425.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of Templates: time 0.01989/0.1312, allocations: 8.785 MB / 434 MB, free: 8.863 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/SinglePhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.589499777997844]