Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00109/0.001096, allocations: 95.83 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001025/0.001025, allocations: 204 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002465/0.0002465, allocations: 8 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.09438, allocations: 51.49 MB / 358.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005729/0.1001, allocations: 5.349 MB / 363.4 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.1045, allocations: 2.259 MB / 365.7 MB, free: 6.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004293/0.1049, allocations: 24 kB / 365.7 MB, free: 6.492 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.1056, allocations: 274.4 kB / 366 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.1068, allocations: 0.4908 MB / 366.5 MB, free: 5.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.1088, allocations: 1.082 MB / 367.5 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1098, allocations: 0.7647 MB / 368.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002908/0.1127, allocations: 1.515 MB / 369.8 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.1132, allocations: 410.4 kB / 370.2 MB, free: 1.941 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.1137, allocations: 0.5058 MB / 370.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.583e-05/0.1138, allocations: 52 kB / 370.8 MB, free: 1.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008161/0.1146, allocations: 343.5 kB / 371.1 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.1147, allocations: 187.2 kB / 371.3 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.1149, allocations: 217.1 kB / 371.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1735/0.2885, allocations: 1.226 MB / 372.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2885, allocations: 0 / 372.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2885, allocations: 0.9375 kB / 372.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.921e-05/0.2885, allocations: 0 / 372.7 MB, free: 10.43 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.006299/0.2948, allocations: 1.855 MB / 374.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2949, allocations: 9.188 kB / 374.6 MB, free: 9.734 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003724/0.2986, allocations: 0.5133 MB / 375.1 MB, free: 9.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.2991, allocations: 301 kB / 375.4 MB, free: 9.422 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.2992, allocations: 99.98 kB / 375.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000395/0.2996, allocations: 128.1 kB / 375.6 MB, free: 9.414 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002687/0.3023, allocations: 1.293 MB / 376.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/0.3024, allocations: 3.562 kB / 376.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.3025, allocations: 50.47 kB / 377 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.3025, allocations: 32.58 kB / 377 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.3051, allocations: 1.223 MB / 378.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006612/0.3118, allocations: 4.319 MB / 382.6 MB, free: 7.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/0.314, allocations: 2.446 MB / 385 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.3142, allocations: 190.2 kB / 385.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3142, allocations: 51.55 kB / 385.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 2.746e-06/0.3142, allocations: 0 / 385.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.01099/0.3252, allocations: 4.037 MB / 389.3 MB, free: 5.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3253, allocations: 90.11 kB / 389.4 MB, free: 5.223 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004391/0.3257, allocations: 397.4 kB / 389.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.751e-05/0.3258, allocations: 46.23 kB / 389.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001776/0.326, allocations: 448 kB / 390.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002456/0.3262, allocations: 424.2 kB / 390.6 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.5e-05/0.3263, allocations: 27.12 kB / 390.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.445e-05/0.3264, allocations: 378.2 kB / 391 MB, free: 4.141 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3275, allocations: 463.1 kB / 391.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001173/0.3287, allocations: 0.7044 MB / 392.2 MB, free: 3.52 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3298, allocations: 0.5393 MB / 392.7 MB, free: 3.258 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3298, allocations: 1.375 kB / 392.7 MB, free: 3.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003021/0.3329, allocations: 1.501 MB / 394.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.3329, allocations: 8 kB / 394.2 MB, free: 2.566 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.3329, allocations: 11.64 kB / 394.3 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005181/0.3335, allocations: 192.8 kB / 394.4 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.3348, allocations: 306.3 kB / 394.7 MB, free: 2.414 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003458/0.3382, allocations: 4.015 MB / 398.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.3393, allocations: 94.7 kB / 398.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/0.3394, allocations: 53.48 kB / 398.9 MB, free: 14.78 MB / 318.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 (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.0004826/0.3399, allocations: 268.4 kB / 399.2 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.34, allocations: 64.89 kB / 399.2 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.343, allocations: 1.398 MB / 400.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.343, allocations: 12.25 kB / 400.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.343, allocations: 4.5 kB / 400.6 MB, free: 13.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.3431, allocations: 12 kB / 400.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004532/0.3476, allocations: 2.652 MB / 403.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3476, allocations: 0 / 403.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009577/0.3486, allocations: 229.1 kB / 403.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000423/0.349, allocations: 172.9 kB / 403.7 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.269e-05/0.3491, allocations: 31.98 kB / 403.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003489/0.3526, allocations: 3.831 MB / 407.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3526, allocations: 0 / 407.6 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004058/0.3567, allocations: 1.982 MB / 409.5 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.357, allocations: 220.3 kB / 409.8 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.3571, allocations: 27.95 kB / 409.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007072/0.3579, allocations: 80 kB / 409.9 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.358, allocations: 80.88 kB / 409.9 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.568e-05/0.3581, allocations: 36.67 kB / 410 MB, free: 5.324 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002722/0.3584, allocations: 267.2 kB / 410.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3584, allocations: 0 / 410.2 MB, free: 5.062 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001129/0.3595, allocations: 312.1 kB / 410.5 MB, free: 4.758 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 (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.0002675/0.3598, allocations: 186 kB / 410.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002992/0.3628, allocations: 1.487 MB / 412.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3628, allocations: 0 / 412.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.3644, allocations: 0.8908 MB / 413.1 MB, free: 2.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.3648, allocations: 53.48 kB / 413.2 MB, free: 2.168 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004269/0.369, allocations: 2.389 MB / 415.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000553/0.3696, allocations: 1.025 MB / 416.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000769/0.3704, allocations: 150.6 kB / 416.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.3707, allocations: 75.39 kB / 416.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3707, allocations: 0 / 416.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of Templates: time 0.01592/0.3866, allocations: 9.398 MB / 426.2 MB, free: 5.16 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches