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.001111/0.001111, allocations: 114.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.001454/0.001454, allocations: 204.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.376/1.376, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 56.53 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1051, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005063/0.1102, allocations: 3.525 MB / 362.4 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1121, allocations: 0.9542 MB / 363.4 MB, free: 8.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002158/0.1123, allocations: 11.94 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003113/0.1127, allocations: 107.1 kB / 363.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004182/0.1131, allocations: 162.7 kB / 363.7 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004136/0.1135, allocations: 171.8 kB / 363.8 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006623/0.1142, allocations: 0.6348 MB / 364.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003174/0.1145, allocations: 193.5 kB / 364.7 MB, free: 7.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1148, allocations: 239 kB / 364.9 MB, free: 7.355 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003197/0.1151, allocations: 274.6 kB / 365.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.221e-05/0.1152, allocations: 52 kB / 365.2 MB, free: 7.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.868e-05/0.1153, allocations: 52 kB / 365.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.1154, allocations: 123.5 kB / 365.4 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.1156, allocations: 286.5 kB / 365.7 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005444/0.1162, allocations: 0.6383 MB / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1162, allocations: 0 / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1162, allocations: 0 / 366.3 MB, free: 5.941 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1162, allocations: 4 kB / 366.3 MB, free: 5.938 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.001441/0.1177, allocations: 0.8536 MB / 367.1 MB, free: 5.031 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1177, allocations: 8.031 kB / 367.2 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1178, allocations: 64.19 kB / 367.2 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005105/0.1183, allocations: 355.6 kB / 367.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.1184, allocations: 45.56 kB / 367.6 MB, free: 4.531 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/0.1185, allocations: 48.38 kB / 367.7 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007659/0.1193, allocations: 442.4 kB / 368.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1193, allocations: 0 / 368.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.1193, allocations: 20 kB / 368.1 MB, free: 4.023 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.1193, allocations: 12 kB / 368.1 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000792/0.1201, allocations: 393 kB / 368.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.1226, allocations: 1.569 MB / 370.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006804/0.1232, allocations: 411 kB / 370.5 MB, free: 1.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/0.1237, allocations: 189.3 kB / 370.7 MB, free: 1.332 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.161e-05/0.1237, allocations: 12.38 kB / 370.7 MB, free: 1.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1237, allocations: 34.89 kB / 370.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.1237, allocations: 0 / 370.7 MB, free: 1.277 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.003059/0.1268, allocations: 1.192 MB / 371.9 MB, free: 72 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.1269, allocations: 59.97 kB / 372 MB, free: 0 / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1832/0.3101, allocations: 403.6 kB / 372.4 MB, free: 20.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.441e-05/0.3102, allocations: 33.98 kB / 372.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.3105, allocations: 303 kB / 372.7 MB, free: 20.14 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.3106, allocations: 192.4 kB / 372.9 MB, free: 20.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3109, allocations: 112.1 kB / 373 MB, free: 20 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.311, allocations: 357.7 kB / 373.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.3115, allocations: 180.8 kB / 373.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.312, allocations: 295.1 kB / 373.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/0.313, allocations: 497.9 kB / 374.3 MB, free: 19.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.223e-06/0.313, allocations: 1.125 kB / 374.3 MB, free: 19.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001674/0.3147, allocations: 0.744 MB / 375 MB, free: 19.06 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.3147, allocations: 7.281 kB / 375 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3148, allocations: 2.812 kB / 375 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000615/0.3154, allocations: 187.6 kB / 375.2 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.3159, allocations: 109.5 kB / 375.3 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.3197, allocations: 4.265 MB / 379.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00047/0.3202, allocations: 34.81 kB / 379.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.595e-05/0.3202, allocations: 26.78 kB / 379.6 MB, free: 15.32 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.0002461/0.3205, allocations: 179.1 kB / 379.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.092e-05/0.3206, allocations: 50.11 kB / 379.9 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.3207, allocations: 60.66 kB / 379.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3207, allocations: 5.594 kB / 379.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/0.3207, allocations: 7.812 kB / 379.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3207, allocations: 3.375 kB / 379.9 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002487/0.3232, allocations: 1.309 MB / 381.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3233, allocations: 2.141 kB / 381.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.3236, allocations: 69.86 kB / 381.3 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000431/0.324, allocations: 162.4 kB / 381.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.3241, allocations: 14.12 kB / 381.5 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00299/0.3271, allocations: 4.1 MB / 385.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3271, allocations: 0 / 385.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3282, allocations: 0.6968 MB / 386.3 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.3284, allocations: 120.8 kB / 386.4 MB, free: 10.19 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.3284, allocations: 13.84 kB / 386.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.3287, allocations: 24.22 kB / 386.5 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.3288, allocations: 47.25 kB / 386.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.3289, allocations: 15.42 kB / 386.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003237/0.3292, allocations: 287 kB / 386.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3292, allocations: 0 / 386.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008035/0.33, allocations: 153.8 kB / 386.9 MB, free: 9.988 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.0001465/0.3302, allocations: 118.6 kB / 387.1 MB, free: 9.891 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.3318, allocations: 0.7894 MB / 387.9 MB, free: 9.465 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3318, allocations: 3.938 kB / 387.9 MB, free: 9.461 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008133/0.3326, allocations: 0.5188 MB / 388.4 MB, free: 9.117 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.3331, allocations: 48 kB / 388.4 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3348, allocations: 0.9555 MB / 389.4 MB, free: 8.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003537/0.3352, allocations: 0.8612 MB / 390.2 MB, free: 7.855 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.3354, allocations: 48.59 kB / 390.3 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.368e-05/0.3355, allocations: 29.95 kB / 390.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3355, allocations: 384 / 390.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of Templates: time 0.01128/0.3468, allocations: 5.049 MB / 395.4 MB, free: 6.578 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 cvode -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