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.001338/0.001338, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001427/0.001427, allocations: 166 kB / 24.82 MB, free: 9.309 MB / 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 0.9814/0.9814, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.2545/0.2545, allocations: 32.81 MB / 294.6 MB, free: 1.23 MB / 266.7 MB " [Timeout remaining time 180] 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.523e-06/1.523e-06, allocations: 0 / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134e-05/1.286e-05, allocations: 2.312 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection): time 0.006138/0.00615, allocations: 6.635 MB / 383.1 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003124/0.009274, allocations: 2.167 MB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003706/0.009645, allocations: 23.94 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.01167, allocations: 1.567 MB / 386.9 MB, free: 9.973 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00118/0.01285, allocations: 0.6834 MB / 387.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.01382, allocations: 0.6918 MB / 388.2 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009936/0.01482, allocations: 1.19 MB / 389.4 MB, free: 7.398 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008983/0.01572, allocations: 0.7568 MB / 390.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.01643, allocations: 0.6898 MB / 390.9 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.01689, allocations: 478.6 kB / 391.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.01702, allocations: 96 kB / 391.4 MB, free: 5.367 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.01748, allocations: 275.6 kB / 391.7 MB, free: 5.098 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.01763, allocations: 262.9 kB / 392 MB, free: 4.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.01794, allocations: 386.9 kB / 392.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009915/0.01893, allocations: 1.008 MB / 393.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.01894, allocations: 8 kB / 393.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.01894, allocations: 0 / 393.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.01895, allocations: 0 / 393.4 MB, free: 3.441 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.002806/0.02176, allocations: 1.76 MB / 395.1 MB, free: 1.641 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.02179, allocations: 8.031 kB / 395.1 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006899/0.02869, allocations: 1.565 MB / 396.7 MB, free: 68 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/0.02934, allocations: 0.4905 MB / 397.2 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.02941, allocations: 86.78 kB / 397.3 MB, free: 15.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.02956, allocations: 124.1 kB / 397.4 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.03065, allocations: 0.9071 MB / 398.3 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.03068, allocations: 7.953 kB / 398.3 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-05/0.03077, allocations: 55.98 kB / 398.4 MB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.03079, allocations: 28 kB / 398.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009521/0.03174, allocations: 0.6696 MB / 399 MB, free: 13.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004641/0.03638, allocations: 3.279 MB / 402.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009526/0.03734, allocations: 0.6201 MB / 402.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.03757, allocations: 174.5 kB / 403.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.253e-05/0.03765, allocations: 44.91 kB / 403.2 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.03768, allocations: 46.39 kB / 403.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=89): time 2.645e-06/0.03768, allocations: 0 / 403.2 MB, free: 9.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=89): time 0.001056/0.03874, allocations: 0.6165 MB / 403.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.03877, allocations: 68.39 kB / 403.9 MB, free: 8.613 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.03915, allocations: 482.1 kB / 404.4 MB, free: 8.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.03919, allocations: 41.7 kB / 404.4 MB, free: 8.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.03945, allocations: 0.5454 MB / 404.9 MB, free: 7.523 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.03964, allocations: 317.2 kB / 405.3 MB, free: 7.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.03989, allocations: 204.5 kB / 405.5 MB, free: 7.004 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.04008, allocations: 0.5468 MB / 406 MB, free: 6.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.0403, allocations: 134.5 kB / 406.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004174/0.04072, allocations: 464.4 kB / 406.6 MB, free: 5.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009181/0.04164, allocations: 0.6504 MB / 407.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.04164, allocations: 0 / 407.2 MB, free: 4.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001318/0.04296, allocations: 0.7505 MB / 408 MB, free: 4.191 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.04298, allocations: 8 kB / 408 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.04299, allocations: 12.06 kB / 408 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002329/0.04322, allocations: 79.3 kB / 408.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.04389, allocations: 243.6 kB / 408.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.04554, allocations: 3.469 MB / 411.8 MB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.04596, allocations: 103.3 kB / 411.9 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.04602, allocations: 39.98 kB / 411.9 MB, free: 8 kB / 378.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.0002143/0.04623, allocations: 224.3 kB / 412.2 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.04636, allocations: 91.56 kB / 412.2 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/0.04742, allocations: 0.83 MB / 413.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.04743, allocations: 12 kB / 413.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.04743, allocations: 0 / 413.1 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.04744, allocations: 3.984 kB / 413.1 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002082/0.04952, allocations: 1.6 MB / 414.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.04953, allocations: 12.03 kB / 414.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.05, allocations: 183.7 kB / 414.9 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.05019, allocations: 67.31 kB / 414.9 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.05024, allocations: 35.98 kB / 415 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.05175, allocations: 3.47 MB / 418.5 MB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.603e-06/0.05175, allocations: 11.94 kB / 418.5 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.05289, allocations: 1.037 MB / 419.5 MB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.05297, allocations: 95.27 kB / 419.6 MB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.739e-05/0.05304, allocations: 24 kB / 419.6 MB, free: 7.762 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.0534, allocations: 52.06 kB / 419.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.05351, allocations: 84.34 kB / 419.7 MB, free: 7.629 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.505e-05/0.05355, allocations: 28 kB / 419.8 MB, free: 7.602 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002237/0.05377, allocations: 299 kB / 420.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.05377, allocations: 0 / 420.1 MB, free: 7.305 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007299/0.0545, allocations: 323.2 kB / 420.4 MB, free: 6.988 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.0002092/0.05471, allocations: 175 kB / 420.6 MB, free: 6.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009947/0.05571, allocations: 0.8473 MB / 421.4 MB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.05571, allocations: 0 / 421.4 MB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004855/0.0562, allocations: 0.6013 MB / 422 MB, free: 5.289 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.05674, allocations: 101.5 kB / 422.1 MB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.05897, allocations: 1.688 MB / 423.8 MB, free: 3.359 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.05911, allocations: 177.8 kB / 424 MB, free: 3.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003687/0.05948, allocations: 125.6 kB / 424.1 MB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/0.05983, allocations: 218.1 kB / 424.3 MB, free: 2.82 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.05983, allocations: 0 / 424.3 MB, free: 2.82 MB / 394.7 MB Notification: Performance of Templates: time 0.0124/0.07223, allocations: 9.698 MB / 434 MB, free: 9.215 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.SerialConnection.pipe 2>&1) [Timeout 240] 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","",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.2872084910050035]