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.001503/0.001503, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001702/0.001702, allocations: 193.1 kB / 24.47 MB, free: 4.152 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: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.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.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 0.001633/0.001633, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2738, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.005241/0.2791, allocations: 3.316 MB / 427.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2816, allocations: 1.323 MB / 428.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000263/0.2819, allocations: 8 kB / 428.5 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004952/0.2824, allocations: 143.1 kB / 428.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.2836, allocations: 473.4 kB / 429.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.284, allocations: 170.8 kB / 429.3 MB, free: 9.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006945/0.2847, allocations: 446.1 kB / 429.7 MB, free: 8.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.2849, allocations: 104.7 kB / 429.8 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.2852, allocations: 171.3 kB / 430 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003071/0.2855, allocations: 207.1 kB / 430.2 MB, free: 8.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.2855, allocations: 36 kB / 430.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.2859, allocations: 159.9 kB / 430.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.412e-05/0.286, allocations: 79.69 kB / 430.5 MB, free: 8.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.2861, allocations: 195 kB / 430.7 MB, free: 7.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007548/0.2869, allocations: 0.5317 MB / 431.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2869, allocations: 0 / 431.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.2869, allocations: 0 / 431.2 MB, free: 7.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.2869, allocations: 0 / 431.2 MB, free: 7.348 MB / 334.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.001563/0.2885, allocations: 0.6883 MB / 431.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2885, allocations: 8.031 kB / 431.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.2891, allocations: 96.64 kB / 432 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005511/0.2897, allocations: 254.8 kB / 432.2 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.2897, allocations: 25.38 kB / 432.3 MB, free: 6.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.009e-05/0.2898, allocations: 32.38 kB / 432.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.2905, allocations: 353.5 kB / 432.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.2905, allocations: 0 / 432.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/0.2905, allocations: 16 kB / 432.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.2905, allocations: 11.98 kB / 432.7 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.291, allocations: 253.8 kB / 432.9 MB, free: 5.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2933, allocations: 1.253 MB / 434.2 MB, free: 4.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.2937, allocations: 185.1 kB / 434.3 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.2939, allocations: 81.69 kB / 434.4 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007788/0.2947, allocations: 0.5497 MB / 435 MB, free: 3.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.2947, allocations: 30.56 kB / 435 MB, free: 3.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.246e-06/0.2947, allocations: 4 kB / 435 MB, free: 3.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005792/0.2953, allocations: 221.3 kB / 435.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2953, allocations: 89.03 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.2957, allocations: 284.2 kB / 435.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.2957, allocations: 37.64 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2959, allocations: 240 kB / 435.9 MB, free: 2.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.137e-05/0.2959, allocations: 71.42 kB / 435.9 MB, free: 2.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.296, allocations: 65.98 kB / 436 MB, free: 2.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.2962, allocations: 334.8 kB / 436.3 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.2964, allocations: 72.61 kB / 436.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000266/0.2966, allocations: 197.7 kB / 436.6 MB, free: 1.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004439/0.2971, allocations: 292.8 kB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.2971, allocations: 4 kB / 436.9 MB, free: 1.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005675/0.2976, allocations: 313.5 kB / 437.2 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.2977, allocations: 4 kB / 437.2 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.2977, allocations: 4 kB / 437.2 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.2977, allocations: 8 kB / 437.2 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003096/0.298, allocations: 87.77 kB / 437.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.298, allocations: 8 kB / 437.3 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002125/0.2982, allocations: 35.73 kB / 437.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.2983, allocations: 19.98 kB / 437.3 MB, free: 0.7852 MB / 334.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.0001687/0.2984, allocations: 165.8 kB / 437.5 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/0.2985, allocations: 28.06 kB / 437.5 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.2986, allocations: 29.73 kB / 437.6 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.2986, allocations: 3.938 kB / 437.6 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2986, allocations: 4 kB / 437.6 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2986, allocations: 7.984 kB / 437.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.2993, allocations: 490.2 kB / 438.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.2993, allocations: 4 kB / 438.1 MB, free: 4 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.2995, allocations: 43.97 kB / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.2995, allocations: 0 / 438.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2996, allocations: 7.938 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2996, allocations: 0 / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.221e-06/0.2996, allocations: 7.938 kB / 438.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005714/0.3001, allocations: 415.3 kB / 438.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.787e-05/0.3002, allocations: 39.7 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/0.3002, allocations: 4 kB / 438.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.3005, allocations: 15.98 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.107e-05/0.3005, allocations: 12.05 kB / 438.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.3005, allocations: 11.98 kB / 438.6 MB, free: 15.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3007, allocations: 199 kB / 438.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3007, allocations: 0 / 438.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004355/0.3012, allocations: 87.78 kB / 438.9 MB, free: 15.16 MB / 350.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.0001533/0.3013, allocations: 115.2 kB / 439 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.3017, allocations: 179.7 kB / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3017, allocations: 1.125 kB / 439.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.3019, allocations: 67.97 kB / 439.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.3023, allocations: 32.91 kB / 439.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.3035, allocations: 0.6843 MB / 440 MB, free: 14.04 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.3038, allocations: 0.779 MB / 440.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.3039, allocations: 23.44 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3039, allocations: 0 / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of Templates: time 0.006258/0.3102, allocations: 3.489 MB / 444.3 MB, free: 9.73 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/SinglePhaseInductance/SinglePhaseInductance.csv","/var/lib/jenkins1/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: 7.0493172879796475]