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.001156/0.001156, allocations: 92.34 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001419/0.001419, allocations: 201 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.7 MB / 246.8 MB, free: 11.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002239/0.000224, allocations: 8 kB / 307.7 MB, free: 0.8008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08902/0.08926, allocations: 51.52 MB / 359.3 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003451/0.09275, allocations: 3.151 MB / 362.4 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.09415, allocations: 0.9582 MB / 363.4 MB, free: 9.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.09432, allocations: 11.94 kB / 363.4 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.09453, allocations: 71.47 kB / 363.5 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.09489, allocations: 143.1 kB / 363.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.09519, allocations: 139.9 kB / 363.7 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005173/0.09572, allocations: 0.6035 MB / 364.3 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00025/0.09597, allocations: 158.4 kB / 364.5 MB, free: 8.027 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000211/0.09619, allocations: 207 kB / 364.7 MB, free: 7.824 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.09646, allocations: 246.7 kB / 364.9 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.326e-05/0.09652, allocations: 28 kB / 365 MB, free: 7.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.074e-05/0.09659, allocations: 28 kB / 365 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.439e-05/0.09667, allocations: 95.53 kB / 365.1 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002148/0.09689, allocations: 288.1 kB / 365.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.09736, allocations: 0.5954 MB / 366 MB, free: 6.547 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09737, allocations: 3.938 kB / 366 MB, free: 6.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.09738, allocations: 4 kB / 366 MB, free: 6.539 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.0974, allocations: 4 kB / 366 MB, free: 6.535 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.001306/0.09871, allocations: 0.7758 MB / 366.7 MB, free: 5.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.09875, allocations: 12.03 kB / 366.8 MB, free: 5.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.955e-05/0.09885, allocations: 60.19 kB / 366.8 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.09923, allocations: 355.6 kB / 367.2 MB, free: 5.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.09927, allocations: 41.69 kB / 367.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.44e-05/0.09935, allocations: 52.36 kB / 367.3 MB, free: 5.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008273/0.1002, allocations: 450.4 kB / 367.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.1002, allocations: 0 / 367.7 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.1003, allocations: 20 kB / 367.7 MB, free: 4.691 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.1003, allocations: 15.94 kB / 367.7 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008735/0.1012, allocations: 409 kB / 368.1 MB, free: 4.277 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002353/0.1035, allocations: 1.593 MB / 369.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/0.1042, allocations: 411.8 kB / 370.1 MB, free: 2.145 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.1047, allocations: 187.7 kB / 370.3 MB, free: 1.961 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.161e-05/0.1047, allocations: 8.391 kB / 370.3 MB, free: 1.953 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.1047, allocations: 38.89 kB / 370.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.1047, allocations: 0 / 370.4 MB, free: 1.906 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003379/0.1081, allocations: 1.286 MB / 371.6 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.1082, allocations: 55.97 kB / 371.7 MB, free: 0.543 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004209/0.1086, allocations: 413.5 kB / 372.1 MB, free: 132 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.159e-05/0.1086, allocations: 33.7 kB / 372.1 MB, free: 92 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1539/0.2626, allocations: 297.8 kB / 372.4 MB, free: 19.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001856/0.2628, allocations: 192.1 kB / 372.6 MB, free: 19.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.2629, allocations: 56.89 kB / 372.7 MB, free: 19.12 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.749e-05/0.263, allocations: 360.1 kB / 373 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004997/0.2635, allocations: 188.2 kB / 373.2 MB, free: 18.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005149/0.264, allocations: 310.3 kB / 373.5 MB, free: 18.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/0.2649, allocations: 0.5048 MB / 374 MB, free: 18.58 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2649, allocations: 4.328 kB / 374 MB, free: 18.58 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001594/0.2665, allocations: 0.7662 MB / 374.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2666, allocations: 6.438 kB / 374.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2666, allocations: 4.078 kB / 374.8 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005493/0.2671, allocations: 184.2 kB / 375 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.2677, allocations: 118 kB / 375.1 MB, free: 18.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.2708, allocations: 3.882 MB / 379 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004016/0.2712, allocations: 39.56 kB / 379 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-05/0.2713, allocations: 22.92 kB / 379 MB, free: 15.25 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.0001782/0.2715, allocations: 183.6 kB / 379.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.2715, allocations: 49.69 kB / 379.3 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001157/0.2716, allocations: 61.98 kB / 379.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2717, allocations: 9.141 kB / 379.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.2717, allocations: 3.719 kB / 379.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.2717, allocations: 2.859 kB / 379.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00212/0.2738, allocations: 1.332 MB / 380.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.2738, allocations: 1.906 kB / 380.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.2741, allocations: 74 kB / 380.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000369/0.2745, allocations: 163.6 kB / 380.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.331e-05/0.2746, allocations: 11.88 kB / 380.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002652/0.2772, allocations: 3.699 MB / 384.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.2772, allocations: 2.062 kB / 384.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/0.2784, allocations: 0.7329 MB / 385.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.518e-05/0.2785, allocations: 121.5 kB / 385.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.2785, allocations: 12.36 kB / 385.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003088/0.2788, allocations: 24.73 kB / 385.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.2789, allocations: 51.05 kB / 385.5 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.2789, allocations: 15.34 kB / 385.6 MB, free: 10.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000273/0.2792, allocations: 286.7 kB / 385.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2792, allocations: 0 / 385.8 MB, free: 10.28 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006676/0.2799, allocations: 150.1 kB / 386 MB, free: 10.26 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.0001386/0.2801, allocations: 111.1 kB / 386.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.2816, allocations: 0.8068 MB / 386.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2816, allocations: 0 / 386.9 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.2823, allocations: 0.5373 MB / 387.4 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004883/0.2828, allocations: 48.44 kB / 387.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.2844, allocations: 1.217 MB / 388.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.2848, allocations: 0.8642 MB / 389.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001966/0.285, allocations: 47.52 kB / 389.6 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/0.2851, allocations: 29.75 kB / 389.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2851, allocations: 0 / 389.6 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Templates: time 0.009502/0.2946, allocations: 4.657 MB / 394.3 MB, free: 6.789 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/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