Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 116.9 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 190.9 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 247.1 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 51.92 kB / 358.7 MB, free: 8.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09394/0.09551, allocations: 49.43 MB / 408.1 MB, free: 7.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance): time 0.00511/0.1007, allocations: 3.699 MB / 411.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.1031, allocations: 1.425 MB / 413.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1033, allocations: 11.94 kB / 413.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001976/0.1053, allocations: 0.7545 MB / 414 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1065, allocations: 0.5362 MB / 414.5 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.1073, allocations: 430 kB / 414.9 MB, free: 140 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.1078, allocations: 458 kB / 415.4 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000615/0.1084, allocations: 393.8 kB / 415.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000295/0.1087, allocations: 207.2 kB / 416 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.1091, allocations: 266.9 kB / 416.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.815e-05/0.1091, allocations: 44 kB / 416.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.1095, allocations: 203.9 kB / 416.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.1096, allocations: 103.6 kB / 416.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.1099, allocations: 234.8 kB / 416.8 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008289/0.1107, allocations: 0.6732 MB / 417.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1107, allocations: 4 kB / 417.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1107, allocations: 0 / 417.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.1108, allocations: 3.984 kB / 417.5 MB, free: 13.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00215/0.1129, allocations: 0.9083 MB / 418.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.113, allocations: 15.89 kB / 418.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00347/0.1164, allocations: 492.2 kB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.117, allocations: 315.6 kB / 419.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.117, allocations: 37.69 kB / 419.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.941e-05/0.1171, allocations: 56.33 kB / 419.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009633/0.1181, allocations: 0.5142 MB / 419.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.1181, allocations: 4 kB / 419.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.41e-05/0.1182, allocations: 20 kB / 419.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1182, allocations: 12 kB / 419.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.1192, allocations: 0.5673 MB / 420.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002822/0.1221, allocations: 1.858 MB / 422.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.1244, allocations: 2.181 MB / 424.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000371/0.1248, allocations: 214.1 kB / 424.7 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001044/0.1249, allocations: 97.52 kB / 424.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.1249, allocations: 38.94 kB / 424.8 MB, free: 5.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.1249, allocations: 7.938 kB / 424.8 MB, free: 5.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.00201/0.1269, allocations: 0.7896 MB / 425.6 MB, free: 4.816 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.127, allocations: 55.84 kB / 425.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.1272, allocations: 182.4 kB / 425.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.1273, allocations: 37.7 kB / 425.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.1274, allocations: 221 kB / 426.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.1276, allocations: 170.5 kB / 426.2 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.1277, allocations: 90.25 kB / 426.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1279, allocations: 346.6 kB / 426.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003074/0.1282, allocations: 149 kB / 426.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.1286, allocations: 220.8 kB / 427 MB, free: 3.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.1293, allocations: 403.4 kB / 427.4 MB, free: 2.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.1293, allocations: 4 kB / 427.4 MB, free: 2.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00105/0.1304, allocations: 0.528 MB / 428 MB, free: 2.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1304, allocations: 4 kB / 428 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1304, allocations: 7.938 kB / 428 MB, free: 2.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.1308, allocations: 88.8 kB / 428.1 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003723/0.1311, allocations: 87.89 kB / 428.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1913/0.3224, allocations: 2.045 MB / 430.2 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.3228, allocations: 43.28 kB / 430.2 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.695e-05/0.3229, allocations: 18.62 kB / 430.2 MB, free: 21.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.3231, allocations: 166.3 kB / 430.4 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.3232, allocations: 25.12 kB / 430.4 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.3242, allocations: 0.5517 MB / 431 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.3242, allocations: 4.906 kB / 431 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.3242, allocations: 0 / 431 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3242, allocations: 6.484 kB / 431 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.3256, allocations: 1.118 MB / 432.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3257, allocations: 0 / 432.1 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003236/0.326, allocations: 77.2 kB / 432.2 MB, free: 21.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002697/0.3263, allocations: 88.59 kB / 432.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.875e-05/0.3263, allocations: 14.23 kB / 432.3 MB, free: 21.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001469/0.3278, allocations: 2.038 MB / 434.3 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.3278, allocations: 4.922 kB / 434.3 MB, free: 19.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.329, allocations: 0.7959 MB / 435.1 MB, free: 19.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.624e-05/0.329, allocations: 106 kB / 435.2 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.3291, allocations: 10.67 kB / 435.2 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002239/0.3293, allocations: 28.38 kB / 435.3 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.3294, allocations: 32.83 kB / 435.3 MB, free: 19.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.538e-05/0.3294, allocations: 17.08 kB / 435.3 MB, free: 19.7 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.928e-05/0.3295, allocations: 138.7 kB / 435.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3295, allocations: 0 / 435.4 MB, free: 19.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005633/0.3301, allocations: 148.6 kB / 435.6 MB, free: 19.61 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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 (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001963/0.3303, allocations: 142 kB / 435.7 MB, free: 19.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009728/0.3313, allocations: 0.5667 MB / 436.3 MB, free: 19.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3313, allocations: 0.625 kB / 436.3 MB, free: 19.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006285/0.3319, allocations: 381.3 kB / 436.7 MB, free: 19.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.3323, allocations: 38.28 kB / 436.7 MB, free: 19.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3336, allocations: 0.8378 MB / 437.5 MB, free: 18.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.3338, allocations: 0.8139 MB / 438.4 MB, free: 18.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3339, allocations: 37.06 kB / 438.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3339, allocations: 0 / 438.4 MB, free: 18.18 MB / 350.1 MB Notification: Performance of Templates: time 0.009847/0.3438, allocations: 6.292 MB / 444.7 MB, free: 17.7 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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: 7.384906847029924]