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.001565/0.001565, allocations: 78.22 kB / 20.68 MB, free: 1.035 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.001795/0.001795, allocations: 155.9 kB / 23.94 MB, free: 4.176 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.403/1.403, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.1 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.142e-06/1.142e-06, allocations: 0 / 318.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.423e-05/2.537e-05, allocations: 6.219 kB / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.003613/0.003639, allocations: 3.032 MB / 321.9 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001749/0.005387, allocations: 1.2 MB / 323.1 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.00555, allocations: 11.75 kB / 323.2 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003656/0.005915, allocations: 156.6 kB / 323.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009361/0.006852, allocations: 432.2 kB / 323.7 MB, free: 404 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.007197, allocations: 170.9 kB / 323.9 MB, free: 300 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.007723, allocations: 467.6 kB / 324.4 MB, free: 64 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.007912, allocations: 102.9 kB / 324.5 MB, free: 12 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003331/0.008245, allocations: 246.1 kB / 324.7 MB, free: 15.91 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.008512, allocations: 147 kB / 324.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.601e-05/0.008568, allocations: 38.31 kB / 324.9 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.008866, allocations: 149.2 kB / 325 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.939e-05/0.008955, allocations: 96.09 kB / 325.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.009112, allocations: 132.2 kB / 325.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.009831, allocations: 0.5459 MB / 325.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.009835, allocations: 0 / 325.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.009836, allocations: 3.938 kB / 325.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.009847, allocations: 1.188 kB / 325.8 MB, free: 15.46 MB / 302.1 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.001525/0.01137, allocations: 0.6809 MB / 326.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.01141, allocations: 10.89 kB / 326.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006325/0.01204, allocations: 95.2 kB / 326.6 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.01252, allocations: 252.2 kB / 326.8 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.01255, allocations: 23.78 kB / 326.9 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.01261, allocations: 35 kB / 326.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000696/0.0133, allocations: 408.2 kB / 327.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.01332, allocations: 4.188 kB / 327.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.01336, allocations: 12.06 kB / 327.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.01337, allocations: 12.81 kB / 327.3 MB, free: 14.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005368/0.01391, allocations: 250.3 kB / 327.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.01597, allocations: 1.121 MB / 328.7 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/0.01638, allocations: 182 kB / 328.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.01656, allocations: 86.11 kB / 328.9 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/0.01728, allocations: 0.5273 MB / 329.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.01732, allocations: 37.69 kB / 329.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.01732, allocations: 0 / 329.5 MB, free: 12.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006079/0.01792, allocations: 215.7 kB / 329.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.01799, allocations: 84.55 kB / 329.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.0183, allocations: 281.7 kB / 330.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.01833, allocations: 36.62 kB / 330.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.01852, allocations: 242.8 kB / 330.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.819e-05/0.01857, allocations: 68.12 kB / 330.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.01868, allocations: 68.03 kB / 330.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.01884, allocations: 339.7 kB / 330.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01901, allocations: 70.8 kB / 330.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.01928, allocations: 199.5 kB / 331.1 MB, free: 11.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004561/0.01974, allocations: 289.8 kB / 331.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01974, allocations: 1.312 kB / 331.4 MB, free: 11.43 MB / 302.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005806/0.02032, allocations: 318 kB / 331.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.02034, allocations: 7.328 kB / 331.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.02035, allocations: 5.312 kB / 331.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.02037, allocations: 6.156 kB / 331.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002955/0.02066, allocations: 84.17 kB / 331.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.02068, allocations: 12.23 kB / 331.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.0209, allocations: 42.92 kB / 331.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.02092, allocations: 16.47 kB / 331.8 MB, free: 11.23 MB / 302.1 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.000186/0.02111, allocations: 163.3 kB / 332 MB, free: 11.08 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.02118, allocations: 24.27 kB / 332 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.195e-05/0.02124, allocations: 29.44 kB / 332.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02125, allocations: 2.188 kB / 332.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.02125, allocations: 1.094 kB / 332.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.02126, allocations: 1.625 kB / 332.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007179/0.02198, allocations: 425 kB / 332.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.02198, allocations: 1.281 kB / 332.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.0222, allocations: 49.14 kB / 332.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.0222, allocations: 2.031 kB / 332.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.02222, allocations: 2.812 kB / 332.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.02222, allocations: 1.719 kB / 332.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.02223, allocations: 1.094 kB / 332.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.02286, allocations: 436.5 kB / 333 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.02291, allocations: 21.39 kB / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.02295, allocations: 6.578 kB / 333 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.02317, allocations: 16.08 kB / 333 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/0.02322, allocations: 19.48 kB / 333 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.02324, allocations: 4.234 kB / 333 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002059/0.02344, allocations: 193.4 kB / 333.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02344, allocations: 1.25 kB / 333.2 MB, free: 10.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004535/0.0239, allocations: 84.5 kB / 333.3 MB, free: 10.25 MB / 302.1 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.0001732/0.02407, allocations: 117.5 kB / 333.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.02449, allocations: 173.5 kB / 333.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.02449, allocations: 5.375 kB / 333.6 MB, free: 10.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.02465, allocations: 70.52 kB / 333.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/0.02505, allocations: 23.8 kB / 333.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.02617, allocations: 0.5931 MB / 334.3 MB, free: 9.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.02635, allocations: 167.1 kB / 334.4 MB, free: 9.582 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.02647, allocations: 34.97 kB / 334.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.02653, allocations: 24.3 kB / 334.5 MB, free: 9.566 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.02653, allocations: 7.938 kB / 334.5 MB, free: 9.559 MB / 302.1 MB Notification: Performance of Templates: time 0.006327/0.03286, allocations: 2.173 MB / 336.7 MB, free: 8.465 MB / 302.1 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: 4.205068111419678]