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.001576/0.001576, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001967/0.001967, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 57.94 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09233, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004336/0.0967, allocations: 3.52 MB / 362.4 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.09808, allocations: 0.9658 MB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.09825, allocations: 8 kB / 363.4 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.0985, allocations: 103 kB / 363.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.09885, allocations: 166.7 kB / 363.7 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.09919, allocations: 171.7 kB / 363.8 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005247/0.09972, allocations: 0.6381 MB / 364.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002626/0.09999, allocations: 189.5 kB / 364.6 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.1002, allocations: 235.1 kB / 364.9 MB, free: 7.324 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.1005, allocations: 282.6 kB / 365.2 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.584e-05/0.1006, allocations: 52 kB / 365.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/0.1007, allocations: 52 kB / 365.3 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.155e-05/0.1008, allocations: 123.5 kB / 365.4 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.101, allocations: 282.5 kB / 365.7 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004774/0.1015, allocations: 0.6382 MB / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1015, allocations: 0 / 366.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1015, allocations: 4 kB / 366.3 MB, free: 5.902 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1015, allocations: 0 / 366.3 MB, free: 5.902 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001354/0.1028, allocations: 0.8536 MB / 367.1 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.1029, allocations: 8.031 kB / 367.2 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.103, allocations: 64.19 kB / 367.2 MB, free: 4.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004235/0.1034, allocations: 355.7 kB / 367.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.1035, allocations: 37.69 kB / 367.6 MB, free: 4.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.1035, allocations: 48.38 kB / 367.7 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007487/0.1043, allocations: 442.4 kB / 368.1 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1043, allocations: 0 / 368.1 MB, free: 4.016 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/0.1044, allocations: 24 kB / 368.1 MB, free: 3.992 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1044, allocations: 16 kB / 368.1 MB, free: 3.977 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007918/0.1052, allocations: 389 kB / 368.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002263/0.1074, allocations: 1.573 MB / 370.1 MB, free: 1.914 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.1081, allocations: 426.8 kB / 370.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003884/0.1085, allocations: 173.4 kB / 370.7 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.1086, allocations: 12.38 kB / 370.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1086, allocations: 42.89 kB / 370.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.573e-06/0.1086, allocations: 0 / 370.7 MB, free: 1.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.00306/0.1117, allocations: 1.184 MB / 371.9 MB, free: 36 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1523/0.264, allocations: 60.81 kB / 372 MB, free: 20.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005775/0.2646, allocations: 405 kB / 372.4 MB, free: 20.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.2647, allocations: 32.89 kB / 372.4 MB, free: 20.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.2649, allocations: 308.2 kB / 372.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.265, allocations: 191.2 kB / 372.9 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.2652, allocations: 112.8 kB / 373 MB, free: 19.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2653, allocations: 354.3 kB / 373.3 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.2658, allocations: 178.9 kB / 373.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/0.2663, allocations: 300.9 kB / 373.8 MB, free: 19.48 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008826/0.2672, allocations: 493.1 kB / 374.3 MB, free: 19.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.2672, allocations: 5.75 kB / 374.3 MB, free: 19.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001633/0.2688, allocations: 0.7457 MB / 375 MB, free: 18.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.2689, allocations: 9.344 kB / 375 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.2689, allocations: 3.906 kB / 375 MB, free: 18.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/0.2695, allocations: 179.6 kB / 375.2 MB, free: 18.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005682/0.2701, allocations: 115.8 kB / 375.3 MB, free: 18.9 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003524/0.2737, allocations: 4.259 MB / 379.6 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003992/0.2741, allocations: 32.61 kB / 379.6 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.2741, allocations: 29.92 kB / 379.7 MB, free: 15.22 MB / 302.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.0001908/0.2743, allocations: 179 kB / 379.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.2744, allocations: 46.75 kB / 379.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001111/0.2745, allocations: 61.97 kB / 379.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2745, allocations: 5.844 kB / 379.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/0.2746, allocations: 8.625 kB / 379.9 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.2746, allocations: 3 kB / 380 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002155/0.2767, allocations: 1.308 MB / 381.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.2767, allocations: 5.875 kB / 381.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002873/0.277, allocations: 65.91 kB / 381.3 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003846/0.2774, allocations: 159.7 kB / 381.5 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.2775, allocations: 11.73 kB / 381.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002914/0.2804, allocations: 4.105 MB / 385.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2804, allocations: 4.016 kB / 385.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.2815, allocations: 0.697 MB / 386.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.104e-05/0.2816, allocations: 121 kB / 386.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.2817, allocations: 8.062 kB / 386.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002897/0.282, allocations: 24.33 kB / 386.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.2821, allocations: 48.58 kB / 386.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.2821, allocations: 14.62 kB / 386.5 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003097/0.2825, allocations: 282.9 kB / 386.8 MB, free: 9.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2825, allocations: 4 kB / 386.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007436/0.2832, allocations: 149.8 kB / 386.9 MB, free: 9.895 MB / 302.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.0001248/0.2834, allocations: 117.7 kB / 387.1 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001419/0.2848, allocations: 0.7894 MB / 387.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2848, allocations: 112 / 387.8 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007046/0.2855, allocations: 0.5264 MB / 388.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.2859, allocations: 45.06 kB / 388.4 MB, free: 8.996 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.2875, allocations: 0.9618 MB / 389.4 MB, free: 8.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.2878, allocations: 0.8611 MB / 390.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001657/0.288, allocations: 46.98 kB / 390.3 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.2881, allocations: 30.19 kB / 390.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2881, allocations: 0 / 390.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of Templates: time 0.01007/0.2982, allocations: 5.046 MB / 395.4 MB, free: 6.492 MB / 302.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 -s gbode -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