Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 43.56 kB / 301.3 MB, free: 5.836 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08808/0.08918, allocations: 49.45 MB / 350.7 MB, free: 4.371 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00848/0.0977, allocations: 6.692 MB / 357.4 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004403/0.1021, allocations: 2.389 MB / 359.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008799/0.103, allocations: 24 kB / 359.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.1072, allocations: 1.87 MB / 361.7 MB, free: 9.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.1093, allocations: 0.7105 MB / 362.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.1117, allocations: 1.178 MB / 363.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001633/0.1133, allocations: 1.109 MB / 364.7 MB, free: 6.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001673/0.115, allocations: 0.9507 MB / 365.7 MB, free: 5.371 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007738/0.1158, allocations: 486.2 kB / 366.1 MB, free: 4.895 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000857/0.1167, allocations: 0.6225 MB / 366.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002476/0.1169, allocations: 100 kB / 366.9 MB, free: 4.172 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.118, allocations: 423.6 kB / 367.3 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002509/0.1183, allocations: 255 kB / 367.5 MB, free: 3.508 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007033/0.119, allocations: 0.5559 MB / 368.1 MB, free: 2.949 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.121, allocations: 1.631 MB / 369.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.121, allocations: 0 / 369.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.121, allocations: 0 / 369.7 MB, free: 1.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.865e-05/0.1211, allocations: 0 / 369.7 MB, free: 1.312 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.1631/0.2842, allocations: 2.011 MB / 371.7 MB, free: 24.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.2842, allocations: 9.875 kB / 371.7 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003694/0.2879, allocations: 0.5106 MB / 372.2 MB, free: 24.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.2883, allocations: 307.3 kB / 372.5 MB, free: 24.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.2884, allocations: 96.7 kB / 372.6 MB, free: 24.38 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.2886, allocations: 135.1 kB / 372.8 MB, free: 24.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/0.291, allocations: 1.294 MB / 374.1 MB, free: 23.96 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.846e-05/0.2911, allocations: 6.594 kB / 374.1 MB, free: 23.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.2912, allocations: 55 kB / 374.1 MB, free: 23.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.2912, allocations: 31.72 kB / 374.2 MB, free: 23.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.2937, allocations: 1.196 MB / 375.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006103/0.2998, allocations: 4.231 MB / 379.6 MB, free: 20.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002196/0.3021, allocations: 2.447 MB / 382 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009248/0.303, allocations: 0.5019 MB / 382.5 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.3031, allocations: 113.2 kB / 382.6 MB, free: 18.68 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.3032, allocations: 45.09 kB / 382.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.256e-06/0.3032, allocations: 0 / 382.7 MB, free: 18.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.0111/0.3143, allocations: 3.788 MB / 386.5 MB, free: 16.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.3144, allocations: 95.72 kB / 386.6 MB, free: 16.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005046/0.3149, allocations: 387.3 kB / 386.9 MB, free: 16.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/0.315, allocations: 45.39 kB / 387 MB, free: 16.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.3152, allocations: 457.1 kB / 387.4 MB, free: 16.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/0.3155, allocations: 424.7 kB / 387.9 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003547/0.3159, allocations: 236.7 kB / 388.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.537e-05/0.316, allocations: 372.7 kB / 388.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/0.317, allocations: 432.1 kB / 388.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.3182, allocations: 0.6992 MB / 389.6 MB, free: 14.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.3205, allocations: 1.174 MB / 390.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.575e-06/0.3206, allocations: 6.219 kB / 390.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002887/0.3235, allocations: 1.468 MB / 392.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.3235, allocations: 14.81 kB / 392.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.3235, allocations: 7.688 kB / 392.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005315/0.3241, allocations: 201.2 kB / 392.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001178/0.3253, allocations: 294.6 kB / 392.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.3286, allocations: 4.373 MB / 397.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009313/0.3295, allocations: 83.72 kB / 397.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.442e-05/0.3296, allocations: 55.86 kB / 397.2 MB, free: 9.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0003971/0.33, allocations: 264.8 kB / 397.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3302, allocations: 64.34 kB / 397.6 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/0.3329, allocations: 1.358 MB / 398.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.3329, allocations: 15.75 kB / 398.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3329, allocations: 3.875 kB / 398.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3329, allocations: 11.91 kB / 398.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.3368, allocations: 2.619 MB / 401.6 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3368, allocations: 4 kB / 401.6 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009333/0.3378, allocations: 211.7 kB / 401.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003568/0.3382, allocations: 177 kB / 401.9 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.735e-05/0.3382, allocations: 32.86 kB / 402 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002629/0.3409, allocations: 4.179 MB / 406.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3409, allocations: 4 kB / 406.2 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003621/0.3445, allocations: 1.878 MB / 408 MB, free: 15.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003236/0.3448, allocations: 232.1 kB / 408.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.345, allocations: 27.92 kB / 408.3 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007247/0.3457, allocations: 64.02 kB / 408.4 MB, free: 14.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/0.3459, allocations: 84.98 kB / 408.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.3459, allocations: 43.92 kB / 408.5 MB, free: 14.87 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002661/0.3462, allocations: 267.2 kB / 408.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3462, allocations: 0 / 408.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001099/0.3473, allocations: 302.6 kB / 409 MB, free: 14.31 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (106): * Single equations (assignments): 104 * 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.0002676/0.3476, allocations: 179.3 kB / 409.2 MB, free: 14.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003807/0.3514, allocations: 1.502 MB / 410.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3515, allocations: 4.062 kB / 410.7 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.353, allocations: 0.8687 MB / 411.6 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.3535, allocations: 77.44 kB / 411.7 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.3573, allocations: 1.988 MB / 413.7 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005191/0.3579, allocations: 1.005 MB / 414.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.3582, allocations: 95.38 kB / 414.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3582, allocations: 0 / 414.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of Templates: time 0.02077/0.379, allocations: 19.52 MB / 434.3 MB, free: 4.965 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches