Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001139/0.001139, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2441, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004854/0.249, allocations: 3.527 MB / 413.5 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.2508, allocations: 0.958 MB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.2512, allocations: 8 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.2516, allocations: 95.09 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.2522, allocations: 162.7 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.2527, allocations: 175.7 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005557/0.2532, allocations: 0.6387 MB / 415.5 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.2535, allocations: 193.5 kB / 415.7 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.2538, allocations: 235 kB / 415.9 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.2541, allocations: 274.6 kB / 416.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.2542, allocations: 52 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.166e-05/0.2542, allocations: 52 kB / 416.3 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.689e-05/0.2543, allocations: 123.6 kB / 416.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.2546, allocations: 294.4 kB / 416.7 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005535/0.2551, allocations: 0.6355 MB / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2551, allocations: 0 / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2551, allocations: 0 / 417.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.996e-06/0.2552, allocations: 0 / 417.3 MB, free: 10.19 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001424/0.2566, allocations: 0.8575 MB / 418.2 MB, free: 9.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2566, allocations: 8.031 kB / 418.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.966e-05/0.2567, allocations: 64.19 kB / 418.2 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.2572, allocations: 355.6 kB / 418.6 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.2572, allocations: 37.69 kB / 418.6 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.15e-05/0.2573, allocations: 48.38 kB / 418.7 MB, free: 8.742 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007997/0.2581, allocations: 442.4 kB / 419.1 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.2582, allocations: 3.938 kB / 419.1 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/0.2582, allocations: 20 kB / 419.1 MB, free: 8.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.2582, allocations: 12 kB / 419.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000836/0.2591, allocations: 397 kB / 419.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.2615, allocations: 1.577 MB / 421.1 MB, free: 6.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.2622, allocations: 407.6 kB / 421.5 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.2626, allocations: 177.4 kB / 421.7 MB, free: 5.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/0.2626, allocations: 8.391 kB / 421.7 MB, free: 5.582 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2627, allocations: 42.88 kB / 421.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.833e-06/0.2627, allocations: 0 / 421.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003282/0.266, allocations: 1.188 MB / 422.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.266, allocations: 59.97 kB / 423 MB, free: 4.258 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.2664, allocations: 409.4 kB / 423.4 MB, free: 3.848 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.2665, allocations: 37.7 kB / 423.4 MB, free: 3.805 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.2667, allocations: 303.9 kB / 423.7 MB, free: 3.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.2668, allocations: 189.3 kB / 423.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.267, allocations: 114.2 kB / 424 MB, free: 3.191 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.2671, allocations: 358.8 kB / 424.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/0.2675, allocations: 181.1 kB / 424.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.2681, allocations: 303.1 kB / 424.8 MB, free: 2.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009047/0.269, allocations: 0.4907 MB / 425.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.269, allocations: 0 / 425.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001385/0.2704, allocations: 0.7459 MB / 426.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.2704, allocations: 4 kB / 426.1 MB, free: 1.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2704, allocations: 4 kB / 426.1 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.271, allocations: 181.6 kB / 426.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/0.2715, allocations: 107.8 kB / 426.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.2754, allocations: 4.281 MB / 430.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.2759, allocations: 32.05 kB / 430.7 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.2759, allocations: 24 kB / 430.7 MB, free: 12.12 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.2762, allocations: 181.3 kB / 430.9 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.2763, allocations: 51.34 kB / 430.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.2764, allocations: 65.02 kB / 431 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2765, allocations: 4 kB / 431 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/0.2765, allocations: 4 kB / 431 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.2765, allocations: 7.984 kB / 431 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.2788, allocations: 1.3 MB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.2789, allocations: 3.938 kB / 432.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.2792, allocations: 72.02 kB / 432.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/0.2796, allocations: 161.5 kB / 432.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.081e-05/0.2797, allocations: 8 kB / 432.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/0.2833, allocations: 4.103 MB / 436.6 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.2833, allocations: 4.062 kB / 436.6 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.2846, allocations: 0.6975 MB / 437.3 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.2848, allocations: 132.4 kB / 437.5 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.2848, allocations: 12 kB / 437.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.2852, allocations: 19.98 kB / 437.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2853, allocations: 48.31 kB / 437.5 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.366e-05/0.2853, allocations: 16 kB / 437.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000317/0.2856, allocations: 287.1 kB / 437.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2856, allocations: 0 / 437.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.2864, allocations: 148.3 kB / 438 MB, free: 4.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001675/0.2866, allocations: 123.1 kB / 438.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001554/0.2881, allocations: 0.7807 MB / 438.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2881, allocations: 3.938 kB / 438.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008145/0.289, allocations: 0.5279 MB / 439.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.2895, allocations: 49.48 kB / 439.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2914, allocations: 0.9767 MB / 440.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.2918, allocations: 0.8631 MB / 441.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.292, allocations: 35.44 kB / 441.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.292, allocations: 0 / 441.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Templates: time 0.0131/0.3051, allocations: 9.854 MB / 451.2 MB, free: 7.047 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches