Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.0007835/0.0007835, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 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.002935/0.002935, allocations: 148.3 kB / 24.68 MB, free: 9.434 MB / 18.57 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 0.8485/0.8485, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.Phi.re|inductor_e.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 319.7 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.59e-05, allocations: 6.219 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003121/0.003147, allocations: 3.029 MB / 322.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.004713, allocations: 1.21 MB / 323.9 MB, free: 1.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.0049, allocations: 8 kB / 323.9 MB, free: 1.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003478/0.005247, allocations: 155 kB / 324.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007778/0.006025, allocations: 436.2 kB / 324.5 MB, free: 1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.006296, allocations: 167.5 kB / 324.7 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005306/0.006826, allocations: 469.8 kB / 325.1 MB, free: 384 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.006994, allocations: 96.77 kB / 325.2 MB, free: 288 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.007231, allocations: 251.4 kB / 325.5 MB, free: 36 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.007429, allocations: 151.6 kB / 325.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.007471, allocations: 32 kB / 325.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.007725, allocations: 155.7 kB / 325.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.00777, allocations: 87.67 kB / 325.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.915e-05/0.00786, allocations: 135.6 kB / 326 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.008376, allocations: 0.5451 MB / 326.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008379, allocations: 0 / 326.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.008381, allocations: 0 / 326.6 MB, free: 14.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.00839, allocations: 0 / 326.6 MB, free: 14.94 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.0009871/0.009377, allocations: 0.6767 MB / 327.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.009414, allocations: 12.92 kB / 327.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003303/0.009745, allocations: 96.64 kB / 327.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.01011, allocations: 246 kB / 327.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.01013, allocations: 29.31 kB / 327.6 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.01017, allocations: 32.38 kB / 327.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.0106, allocations: 409.1 kB / 328 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01062, allocations: 8.172 kB / 328.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.01064, allocations: 12.38 kB / 328.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.01065, allocations: 11.94 kB / 328.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002935/0.01094, allocations: 245.9 kB / 328.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.01214, allocations: 1.123 MB / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.0124, allocations: 185.1 kB / 329.6 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.094e-05/0.01249, allocations: 77.69 kB / 329.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.01294, allocations: 0.5224 MB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.01296, allocations: 38.56 kB / 330.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.01296, allocations: 0 / 330.3 MB, free: 11.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003519/0.01331, allocations: 225.4 kB / 330.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.01335, allocations: 81.11 kB / 330.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.01354, allocations: 288.2 kB / 330.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.01355, allocations: 29.7 kB / 330.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.01365, allocations: 244 kB / 331.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.01368, allocations: 63.44 kB / 331.2 MB, free: 10.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.01374, allocations: 65.97 kB / 331.2 MB, free: 9.988 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.01383, allocations: 342.8 kB / 331.6 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/0.01392, allocations: 64.62 kB / 331.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.01406, allocations: 206.3 kB / 331.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.01432, allocations: 288.9 kB / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01432, allocations: 0 / 332.1 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003148/0.01464, allocations: 321.3 kB / 332.4 MB, free: 8.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.01465, allocations: 8 kB / 332.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01466, allocations: 4 kB / 332.4 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.01468, allocations: 4 kB / 332.4 MB, free: 8.645 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.01483, allocations: 79.91 kB / 332.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.01484, allocations: 15.98 kB / 332.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01494, allocations: 39.98 kB / 332.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01496, allocations: 16 kB / 332.6 MB, free: 8.496 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.01506, allocations: 157.7 kB / 332.7 MB, free: 8.332 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.0151, allocations: 35.84 kB / 332.8 MB, free: 8.297 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.01514, allocations: 29.8 kB / 332.8 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01514, allocations: 4 kB / 332.8 MB, free: 8.262 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.01514, allocations: 3.984 kB / 332.8 MB, free: 8.258 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01515, allocations: 3.938 kB / 332.8 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/0.01554, allocations: 422.7 kB / 333.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01554, allocations: 0 / 333.2 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.01565, allocations: 51.94 kB / 333.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01565, allocations: 3.938 kB / 333.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.01566, allocations: 8 kB / 333.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.01567, allocations: 0 / 333.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01567, allocations: 0 / 333.3 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.01601, allocations: 419.3 kB / 333.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01603, allocations: 27.81 kB / 333.7 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.01606, allocations: 8 kB / 333.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.01616, allocations: 16.05 kB / 333.8 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.0162, allocations: 15.92 kB / 333.8 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.01621, allocations: 4 kB / 333.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01633, allocations: 195.1 kB / 334 MB, free: 7.051 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01633, allocations: 0 / 334 MB, free: 7.051 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002954/0.01662, allocations: 87.73 kB / 334.1 MB, free: 6.965 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.01675, allocations: 115.2 kB / 334.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002512/0.017, allocations: 183.4 kB / 334.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01701, allocations: 0 / 334.3 MB, free: 6.664 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.01708, allocations: 68.16 kB / 334.4 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01738, allocations: 24.98 kB / 334.4 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007477/0.01812, allocations: 0.6199 MB / 335.1 MB, free: 5.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01823, allocations: 168.8 kB / 335.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.331e-05/0.01829, allocations: 28.48 kB / 335.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01829, allocations: 0 / 335.2 MB, free: 5.707 MB / 298.7 MB Notification: Performance of Templates: time 0.004168/0.02246, allocations: 3.578 MB / 338.8 MB, free: 2.133 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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: 3.9284296054393053]