Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 104.5 kB / 19.8 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001996/0.001996, allocations: 214.7 kB / 23 MB, free: 5.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 230.2 MB / 256.2 MB, free: 8.555 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 63.89 kB / 376.5 MB, free: 3.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.237, allocations: 53.33 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance): time 0.004535/0.2416, allocations: 3.334 MB / 433.1 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002343/0.2439, allocations: 1.425 MB / 434.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.2441, allocations: 12 kB / 434.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.2445, allocations: 147 kB / 434.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009588/0.2455, allocations: 429.7 kB / 435.1 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.2459, allocations: 183.5 kB / 435.3 MB, free: 2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005843/0.2465, allocations: 458.1 kB / 435.8 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2467, allocations: 112.2 kB / 435.9 MB, free: 1.438 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.2469, allocations: 175.2 kB / 436 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.2472, allocations: 199.2 kB / 436.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.283e-05/0.2472, allocations: 36 kB / 436.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003157/0.2475, allocations: 171.9 kB / 436.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.2476, allocations: 87.62 kB / 436.5 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.2478, allocations: 195.1 kB / 436.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006755/0.2484, allocations: 0.5537 MB / 437.3 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2484, allocations: 0 / 437.3 MB, free: 40 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2484, allocations: 0 / 437.3 MB, free: 40 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.2485, allocations: 0 / 437.3 MB, free: 40 kB / 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.001431/0.2499, allocations: 0.756 MB / 438 MB, free: 15.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2499, allocations: 8.031 kB / 438 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007566/0.2507, allocations: 112.6 kB / 438.1 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.2512, allocations: 321.8 kB / 438.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/0.2512, allocations: 25.38 kB / 438.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.2513, allocations: 36.38 kB / 438.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006238/0.2519, allocations: 357.6 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.2519, allocations: 0 / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.2519, allocations: 12 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.2519, allocations: 8 kB / 438.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004897/0.2524, allocations: 250.1 kB / 439.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.2545, allocations: 1.323 MB / 440.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003972/0.2549, allocations: 193 kB / 440.6 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.2551, allocations: 77.69 kB / 440.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/0.2561, allocations: 1.196 MB / 441.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.2561, allocations: 34.56 kB / 441.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2561, allocations: 0 / 441.9 MB, free: 10.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005865/0.2567, allocations: 225.5 kB / 442.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.977e-05/0.2568, allocations: 85.03 kB / 442.2 MB, free: 10.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.2571, allocations: 295 kB / 442.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.2571, allocations: 29.7 kB / 442.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.2573, allocations: 240 kB / 442.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.2573, allocations: 63.47 kB / 442.9 MB, free: 9.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.822e-05/0.2574, allocations: 65.98 kB / 442.9 MB, free: 9.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.2576, allocations: 338.8 kB / 443.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.2577, allocations: 68.61 kB / 443.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.258, allocations: 198.4 kB / 443.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.2584, allocations: 296.8 kB / 443.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2584, allocations: 4 kB / 443.8 MB, free: 8.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005678/0.2589, allocations: 320.5 kB / 444.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.259, allocations: 12 kB / 444.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.259, allocations: 4 kB / 444.1 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.259, allocations: 4 kB / 444.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002872/0.2593, allocations: 87.77 kB / 444.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2593, allocations: 4 kB / 444.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.2595, allocations: 43.77 kB / 444.3 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.2595, allocations: 12 kB / 444.3 MB, free: 8.41 MB / 350.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.0001612/0.2597, allocations: 161.7 kB / 444.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.335e-05/0.2597, allocations: 27.81 kB / 444.5 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.2598, allocations: 29.78 kB / 444.5 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.2598, allocations: 7.938 kB / 444.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.2598, allocations: 0 / 444.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2598, allocations: 0 / 444.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.2605, allocations: 0.5108 MB / 445 MB, free: 7.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.2605, allocations: 4.031 kB / 445 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.2608, allocations: 51.91 kB / 445.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.2608, allocations: 0 / 445.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.2608, allocations: 0 / 445.1 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.2608, allocations: 7.938 kB / 445.1 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2608, allocations: 3.938 kB / 445.1 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005537/0.2613, allocations: 423.6 kB / 445.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.2614, allocations: 105.2 kB / 445.6 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.2615, allocations: 7.984 kB / 445.6 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.2617, allocations: 16 kB / 445.6 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.2617, allocations: 15.97 kB / 445.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2617, allocations: 8.062 kB / 445.6 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002098/0.2619, allocations: 198 kB / 445.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2619, allocations: 0 / 445.8 MB, free: 6.754 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004368/0.2624, allocations: 87.78 kB / 445.9 MB, free: 6.668 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.0001818/0.2625, allocations: 119.2 kB / 446 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004024/0.2629, allocations: 179.6 kB / 446.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.263, allocations: 0 / 446.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.2631, allocations: 72.95 kB / 446.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.2635, allocations: 36.89 kB / 446.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.2647, allocations: 0.6538 MB / 447 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.2651, allocations: 0.7714 MB / 447.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.2652, allocations: 42.94 kB / 447.8 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.2653, allocations: 23.44 kB / 447.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2653, allocations: 0 / 447.8 MB, free: 4.707 MB / 350.1 MB Notification: Performance of Templates: time 0.006316/0.2716, allocations: 2.501 MB / 450.3 MB, free: 2.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.351648081094027]