Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.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.001363/0.001363, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001605/0.001605, allocations: 165 kB / 24.56 MB, free: 12 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 0.8974/0.8974, allocations: 177.2 MB / 205 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] 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(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.1.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.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.511e-05, allocations: 2.312 kB / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003515/0.00354, allocations: 3.285 MB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.005479, allocations: 1.359 MB / 277.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002467/0.005726, allocations: 15.88 kB / 277.6 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.006161, allocations: 143 kB / 277.8 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.007043, allocations: 433.5 kB / 278.2 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.007346, allocations: 179.5 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.007849, allocations: 481.8 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.008013, allocations: 104.8 kB / 279 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002892/0.008302, allocations: 299.3 kB / 279.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.008499, allocations: 175.5 kB / 279.4 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.835e-05/0.008537, allocations: 32 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.008798, allocations: 159.7 kB / 279.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.008846, allocations: 87.67 kB / 279.7 MB, free: 10.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.871e-05/0.008945, allocations: 135.6 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.009394, allocations: 414.5 kB / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.009398, allocations: 0 / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.009399, allocations: 0 / 280.2 MB, free: 10.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.009406, allocations: 0 / 280.2 MB, free: 10.25 MB / 266.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.0009569/0.01036, allocations: 0.7688 MB / 281 MB, free: 9.441 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.0104, allocations: 12.03 kB / 281 MB, free: 9.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004344/0.01084, allocations: 140.5 kB / 281.1 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.01114, allocations: 252.8 kB / 281.4 MB, free: 9.016 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.01116, allocations: 29.31 kB / 281.4 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.0112, allocations: 40.27 kB / 281.5 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/0.0116, allocations: 347.5 kB / 281.8 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.01162, allocations: 4.172 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.01164, allocations: 16.38 kB / 281.8 MB, free: 8.562 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.01165, allocations: 11.94 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.01186, allocations: 127.7 kB / 282 MB, free: 8.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.01319, allocations: 1.214 MB / 283.2 MB, free: 7.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.01343, allocations: 161 kB / 283.3 MB, free: 6.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.048e-05/0.0135, allocations: 55.36 kB / 283.4 MB, free: 6.891 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005897/0.01409, allocations: 0.7212 MB / 284.1 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.01412, allocations: 41.33 kB / 284.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.01412, allocations: 0 / 284.1 MB, free: 6.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002885/0.01441, allocations: 149.5 kB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.01445, allocations: 89.11 kB / 284.4 MB, free: 5.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.01467, allocations: 342.2 kB / 284.7 MB, free: 5.488 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.01469, allocations: 29.7 kB / 284.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.01482, allocations: 294.7 kB / 285 MB, free: 5.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.01485, allocations: 67.41 kB / 285.1 MB, free: 5.094 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.01492, allocations: 71.64 kB / 285.2 MB, free: 5.012 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01505, allocations: 0.5117 MB / 285.7 MB, free: 4.488 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.0151, allocations: 32.62 kB / 285.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.01525, allocations: 226.9 kB / 285.9 MB, free: 4.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/0.01548, allocations: 285.5 kB / 286.2 MB, free: 3.789 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.01548, allocations: 0 / 286.2 MB, free: 3.789 MB / 266.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002896/0.01577, allocations: 276.8 kB / 286.5 MB, free: 3.516 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.01579, allocations: 4 kB / 286.5 MB, free: 3.512 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.0158, allocations: 8 kB / 286.5 MB, free: 3.504 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.01581, allocations: 4 kB / 286.5 MB, free: 3.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.01598, allocations: 79.84 kB / 286.6 MB, free: 3.422 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.016, allocations: 8 kB / 286.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.01611, allocations: 40.03 kB / 286.6 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.01612, allocations: 20 kB / 286.6 MB, free: 3.355 MB / 266.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.0001031/0.01623, allocations: 184.3 kB / 286.8 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.352e-05/0.01627, allocations: 27.86 kB / 286.8 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.01632, allocations: 37.78 kB / 286.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01632, allocations: 0 / 286.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01632, allocations: 0 / 286.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.01633, allocations: 0 / 286.9 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004577/0.01679, allocations: 460.9 kB / 287.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.01679, allocations: 0 / 287.3 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/0.01692, allocations: 48 kB / 287.4 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-06/0.01692, allocations: 4 kB / 287.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.01694, allocations: 0 / 287.4 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.01694, allocations: 4.312 kB / 287.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.01694, allocations: 0 / 287.4 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.0173, allocations: 459.4 kB / 287.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.01733, allocations: 31.75 kB / 287.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.01735, allocations: 0 / 287.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01746, allocations: 15.98 kB / 287.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.01751, allocations: 19.94 kB / 287.9 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.01752, allocations: 12 kB / 287.9 MB, free: 1.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001215/0.01764, allocations: 219 kB / 288.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01764, allocations: 0 / 288.1 MB, free: 1.785 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003066/0.01795, allocations: 83.78 kB / 288.2 MB, free: 1.703 MB / 266.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.0001571/0.0181, allocations: 123.2 kB / 288.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000227/0.01833, allocations: 131.4 kB / 288.5 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01833, allocations: 0 / 288.5 MB, free: 1.441 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.639e-05/0.0184, allocations: 60.66 kB / 288.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003052/0.0187, allocations: 24.98 kB / 288.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.01986, allocations: 0.6069 MB / 289.1 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.473e-05/0.01993, allocations: 88.31 kB / 289.2 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.205e-05/0.02002, allocations: 34.95 kB / 289.3 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.02009, allocations: 20.5 kB / 289.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.02009, allocations: 4 kB / 289.3 MB, free: 0.543 MB / 266.7 MB Notification: Performance of Templates: time 0.005335/0.02542, allocations: 2.397 MB / 291.7 MB, free: 14.18 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.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: 2.648707581218332]