Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001527/0.001527, allocations: 114 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001385/0.001385, allocations: 205.2 kB / 18.78 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 250 MB, free: 9.078 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.84 kB / 367.3 MB, free: 7.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2465, allocations: 53.32 MB / 420.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004873/0.2513, allocations: 3.532 MB / 424.2 MB, free: 4.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.253, allocations: 0.962 MB / 425.2 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.2532, allocations: 11.94 kB / 425.2 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002626/0.2535, allocations: 95.09 kB / 425.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.254, allocations: 166.8 kB / 425.4 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004503/0.2545, allocations: 171.7 kB / 425.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006355/0.2551, allocations: 0.6426 MB / 426.2 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.2554, allocations: 137.5 kB / 426.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003063/0.2557, allocations: 235 kB / 426.6 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003244/0.256, allocations: 278.6 kB / 426.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.993e-05/0.2561, allocations: 52 kB / 426.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.025e-05/0.2562, allocations: 52 kB / 427 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2563, allocations: 127.5 kB / 427.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.2565, allocations: 286.5 kB / 427.4 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.2572, allocations: 0.6338 MB / 428 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2572, allocations: 0 / 428 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2572, allocations: 8 kB / 428 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.2572, allocations: 0 / 428 MB, free: 0.9531 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.001509/0.2588, allocations: 0.8686 MB / 428.9 MB, free: 36 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2588, allocations: 12.03 kB / 428.9 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.2589, allocations: 65.12 kB / 429 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.2594, allocations: 351.9 kB / 429.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/0.2595, allocations: 41.62 kB / 429.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/0.2595, allocations: 51.75 kB / 429.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008324/0.2604, allocations: 446.4 kB / 429.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2604, allocations: 0 / 429.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.2604, allocations: 20 kB / 429.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.2605, allocations: 12 kB / 429.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008775/0.2613, allocations: 389 kB / 430.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002633/0.264, allocations: 1.585 MB / 431.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/0.2647, allocations: 385.5 kB / 432.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.2651, allocations: 164.5 kB / 432.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.2652, allocations: 12.39 kB / 432.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2652, allocations: 42.75 kB / 432.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.2652, allocations: 0 / 432.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003315/0.2685, allocations: 1.192 MB / 433.6 MB, free: 11.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.2685, allocations: 55.97 kB / 433.7 MB, free: 11.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.269, allocations: 409.6 kB / 434.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.2691, allocations: 37.7 kB / 434.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.2693, allocations: 316.6 kB / 434.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.2694, allocations: 194.3 kB / 434.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.2696, allocations: 110.3 kB / 434.7 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.2698, allocations: 366.7 kB / 435.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/0.2702, allocations: 181.2 kB / 435.2 MB, free: 9.414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000531/0.2708, allocations: 299 kB / 435.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009532/0.2717, allocations: 494.5 kB / 436 MB, free: 8.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.2717, allocations: 0 / 436 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001489/0.2732, allocations: 0.7423 MB / 436.8 MB, free: 7.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2732, allocations: 8 kB / 436.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.2732, allocations: 4 kB / 436.8 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005529/0.2738, allocations: 184 kB / 437 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005182/0.2743, allocations: 111.8 kB / 437.1 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004499/0.2788, allocations: 4.274 MB / 441.3 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.2792, allocations: 27.94 kB / 441.4 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-05/0.2793, allocations: 28 kB / 441.4 MB, free: 2.891 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.0002354/0.2795, allocations: 182.4 kB / 441.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.2796, allocations: 55.64 kB / 441.6 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.2797, allocations: 57.08 kB / 441.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2797, allocations: 11.94 kB / 441.7 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.2797, allocations: 4 kB / 441.7 MB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.2797, allocations: 3.984 kB / 441.7 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002368/0.2821, allocations: 1.3 MB / 443 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2821, allocations: 3.938 kB / 443 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003192/0.2824, allocations: 67.89 kB / 443.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/0.2829, allocations: 157.7 kB / 443.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.2829, allocations: 11.94 kB / 443.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004146/0.287, allocations: 4.104 MB / 447.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.287, allocations: 7.969 kB / 447.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.2884, allocations: 0.6938 MB / 448 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.2885, allocations: 124.8 kB / 448.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.2885, allocations: 12 kB / 448.2 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.2888, allocations: 19.98 kB / 448.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.289, allocations: 48.36 kB / 448.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.289, allocations: 20.22 kB / 448.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003374/0.2893, allocations: 287.1 kB / 448.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2893, allocations: 0 / 448.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007041/0.29, allocations: 155.9 kB / 448.7 MB, free: 11.18 MB / 366.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.0001439/0.2902, allocations: 115.2 kB / 448.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.2918, allocations: 0.765 MB / 449.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2918, allocations: 0 / 449.6 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008466/0.2926, allocations: 0.5123 MB / 450.1 MB, free: 9.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.293, allocations: 48.14 kB / 450.1 MB, free: 9.676 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.2949, allocations: 0.9712 MB / 451.1 MB, free: 8.668 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.2955, allocations: 0.8631 MB / 452 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001737/0.2957, allocations: 44.36 kB / 452 MB, free: 7.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.051e-05/0.2958, allocations: 35.44 kB / 452 MB, free: 7.695 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2958, allocations: 3.938 kB / 452 MB, free: 7.691 MB / 366.1 MB Notification: Performance of Templates: time 0.01179/0.3075, allocations: 5.235 MB / 457.3 MB, free: 2.461 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches