Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001367/0.001367, allocations: 197.1 kB / 17.05 MB, free: 5.102 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 226.5 MB / 244.3 MB, free: 6.586 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008106, allocations: 97.94 kB / 296.4 MB, free: 6.789 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002399/0.00024, allocations: 4 kB / 356.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2319/0.2321, allocations: 51.3 MB / 407.5 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.002883/0.2351, allocations: 2.987 MB / 410.5 MB, free: 24.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2366, allocations: 0.906 MB / 411.4 MB, free: 23.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.2371, allocations: 8 kB / 411.4 MB, free: 23.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.2374, allocations: 67.48 kB / 411.5 MB, free: 23.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.2379, allocations: 132.2 kB / 411.6 MB, free: 23.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.2383, allocations: 123.7 kB / 411.7 MB, free: 23.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.2387, allocations: 0.5724 MB / 412.3 MB, free: 23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002269/0.239, allocations: 144.1 kB / 412.4 MB, free: 22.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002618/0.2392, allocations: 218.6 kB / 412.6 MB, free: 22.64 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.2394, allocations: 230.9 kB / 412.9 MB, free: 22.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.627e-05/0.2395, allocations: 28 kB / 412.9 MB, free: 22.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-05/0.2396, allocations: 32 kB / 412.9 MB, free: 22.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.394e-05/0.2396, allocations: 91.53 kB / 413 MB, free: 22.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.2397, allocations: 121.5 kB / 413.1 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.24, allocations: 467.6 kB / 413.6 MB, free: 21.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.24, allocations: 0 / 413.6 MB, free: 21.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.24, allocations: 0 / 413.6 MB, free: 21.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.353e-06/0.24, allocations: 11.88 kB / 413.6 MB, free: 21.67 MB / 298.7 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.001146/0.2411, allocations: 0.7718 MB / 414.4 MB, free: 20.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2412, allocations: 12.03 kB / 414.4 MB, free: 20.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.2413, allocations: 67.23 kB / 414.5 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.2416, allocations: 338 kB / 414.8 MB, free: 20.4 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.2416, allocations: 37.31 kB / 414.8 MB, free: 20.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.2417, allocations: 48 kB / 414.9 MB, free: 20.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.2424, allocations: 446.4 kB / 415.3 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2424, allocations: 0 / 415.3 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.2425, allocations: 24 kB / 415.3 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2425, allocations: 12 kB / 415.3 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007275/0.2432, allocations: 409 kB / 415.7 MB, free: 19.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.2452, allocations: 1.589 MB / 417.3 MB, free: 17.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.2458, allocations: 407.6 kB / 417.7 MB, free: 17.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.2461, allocations: 190.1 kB / 417.9 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.2462, allocations: 4.328 kB / 417.9 MB, free: 17.13 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.2462, allocations: 38.89 kB / 417.9 MB, free: 17.08 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.693e-06/0.2462, allocations: 0 / 417.9 MB, free: 17.08 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002862/0.2491, allocations: 1.27 MB / 419.2 MB, free: 15.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.2491, allocations: 59.97 kB / 419.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.2494, allocations: 393.5 kB / 419.7 MB, free: 15.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.2495, allocations: 33.7 kB / 419.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.2496, allocations: 307.8 kB / 420 MB, free: 14.99 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.2497, allocations: 181.3 kB / 420.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.2497, allocations: 16 kB / 420.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.911e-05/0.2498, allocations: 362.7 kB / 420.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003687/0.2502, allocations: 185.2 kB / 420.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.2506, allocations: 311.1 kB / 421 MB, free: 13.9 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.251, allocations: 222.1 kB / 421.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.251, allocations: 0 / 421.2 MB, free: 13.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001196/0.2522, allocations: 0.7538 MB / 422 MB, free: 12.92 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2522, allocations: 15.89 kB / 422 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.2523, allocations: 4 kB / 422 MB, free: 12.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004758/0.2527, allocations: 181 kB / 422.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004392/0.2532, allocations: 119.8 kB / 422.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00286/0.2561, allocations: 3.88 MB / 426.2 MB, free: 8.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003859/0.2565, allocations: 35.98 kB / 426.2 MB, free: 8.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.2565, allocations: 20 kB / 426.2 MB, free: 8.406 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 12,(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002207/0.2567, allocations: 189.7 kB / 426.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.478e-05/0.2568, allocations: 51.34 kB / 426.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.892e-05/0.2569, allocations: 57.03 kB / 426.5 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2569, allocations: 11.95 kB / 426.5 MB, free: 8.094 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.2569, allocations: 4 kB / 426.6 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2569, allocations: 3.984 kB / 426.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.2587, allocations: 1.316 MB / 427.9 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.2588, allocations: 3.984 kB / 427.9 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.259, allocations: 67.97 kB / 427.9 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003388/0.2594, allocations: 167.6 kB / 428.1 MB, free: 6.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.2594, allocations: 8 kB / 428.1 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/0.2619, allocations: 3.704 MB / 431.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2619, allocations: 0 / 431.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2629, allocations: 0.716 MB / 432.5 MB, free: 1.723 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.709e-05/0.263, allocations: 116.5 kB / 432.6 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.263, allocations: 15.94 kB / 432.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.2633, allocations: 35.97 kB / 432.7 MB, free: 1.539 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.2634, allocations: 40.38 kB / 432.7 MB, free: 1.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2634, allocations: 16 kB / 432.8 MB, free: 1.484 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002217/0.2637, allocations: 279.1 kB / 433 MB, free: 1.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2637, allocations: 384 / 433 MB, free: 1.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005979/0.2643, allocations: 152 kB / 433.2 MB, free: 1.066 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.2644, allocations: 111.7 kB / 433.3 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.2657, allocations: 0.808 MB / 434.1 MB, free: 116 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.2657, allocations: 3.938 kB / 434.1 MB, free: 112 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007596/0.2665, allocations: 0.528 MB / 434.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.2669, allocations: 45.55 kB / 434.7 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2686, allocations: 1.171 MB / 435.8 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.269, allocations: 0.8591 MB / 436.7 MB, free: 13.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.2692, allocations: 35.44 kB / 436.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of SimCode: time 3e-07/0.2692, allocations: 0 / 436.7 MB, free: 13.37 MB / 314.7 MB Notification: Performance of Templates: time 0.01068/0.2798, allocations: 9.572 MB / 446.3 MB, free: 3.789 MB / 314.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches