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.001477/0.001477, allocations: 114.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001719, allocations: 204.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 61.84 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08446, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00757/0.09206, allocations: 6.702 MB / 365.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.09575, allocations: 2.456 MB / 368.1 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.09608, allocations: 24 kB / 368.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.09977, allocations: 1.87 MB / 370 MB, free: 2.234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1009, allocations: 0.5434 MB / 370.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.1032, allocations: 1.334 MB / 371.8 MB, free: 368 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.144/0.2472, allocations: 1.113 MB / 373 MB, free: 9.836 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001462/0.2487, allocations: 0.9407 MB / 373.9 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006733/0.2494, allocations: 486.2 kB / 374.4 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.25, allocations: 0.6214 MB / 375 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.2502, allocations: 99.06 kB / 375.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009311/0.2512, allocations: 447.6 kB / 375.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.2513, allocations: 244 kB / 375.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.2518, allocations: 0.5635 MB / 376.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.2535, allocations: 1.663 MB / 378 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2536, allocations: 0 / 378 MB, free: 9.219 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2536, allocations: 0.625 kB / 378 MB, free: 9.219 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.826e-05/0.2536, allocations: 0.8438 kB / 378 MB, free: 9.219 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.006056/0.2597, allocations: 2.028 MB / 380 MB, free: 8.504 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2597, allocations: 10.97 kB / 380 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.2633, allocations: 0.5085 MB / 380.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.2636, allocations: 312 kB / 380.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/0.2637, allocations: 94.8 kB / 380.9 MB, free: 8.086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.2639, allocations: 128.3 kB / 381.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002348/0.2663, allocations: 1.298 MB / 382.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.914e-05/0.2663, allocations: 10.09 kB / 382.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.2665, allocations: 55.03 kB / 382.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.673e-05/0.2665, allocations: 31.67 kB / 382.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.2689, allocations: 1.191 MB / 383.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005906/0.2748, allocations: 4.269 MB / 387.9 MB, free: 4.473 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.2768, allocations: 2.441 MB / 390.4 MB, free: 2.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008417/0.2777, allocations: 0.5035 MB / 390.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000164/0.2778, allocations: 194.9 kB / 391.1 MB, free: 2.062 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.2779, allocations: 49.22 kB / 391.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of pre-optimization done (n=122): time 3.046e-06/0.2779, allocations: 0 / 391.1 MB, free: 2.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=125): time 0.009189/0.2871, allocations: 3.762 MB / 394.9 MB, free: 396 kB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.2871, allocations: 90.58 kB / 395 MB, free: 296 kB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.2876, allocations: 391.2 kB / 395.3 MB, free: 68 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/0.2876, allocations: 46.64 kB / 395.4 MB, free: 20 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/0.2879, allocations: 455.5 kB / 395.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.2882, allocations: 424.3 kB / 396.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/0.2886, allocations: 228.1 kB / 396.5 MB, free: 15.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2887, allocations: 373.3 kB / 396.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.2899, allocations: 437.5 kB / 397.3 MB, free: 14.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.2911, allocations: 0.6983 MB / 398 MB, free: 14.03 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.2931, allocations: 1.176 MB / 399.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.2931, allocations: 0 / 399.1 MB, free: 13.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002687/0.2958, allocations: 1.464 MB / 400.6 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2959, allocations: 13.84 kB / 400.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.2959, allocations: 6.344 kB / 400.6 MB, free: 12.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004885/0.2964, allocations: 197.5 kB / 400.8 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.2975, allocations: 286.7 kB / 401.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003979/0.3015, allocations: 4.381 MB / 405.5 MB, free: 8.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008605/0.3023, allocations: 76 kB / 405.5 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.529e-05/0.3025, allocations: 52 kB / 405.6 MB, free: 8.195 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 (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.000405/0.3029, allocations: 273.6 kB / 405.9 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.303, allocations: 67.16 kB / 405.9 MB, free: 7.867 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.3058, allocations: 1.343 MB / 407.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.3059, allocations: 12 kB / 407.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.3059, allocations: 7.938 kB / 407.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.3059, allocations: 7.969 kB / 407.3 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004351/0.3103, allocations: 2.589 MB / 409.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.3103, allocations: 4 kB / 409.9 MB, free: 3.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009364/0.3112, allocations: 211.4 kB / 410.1 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004247/0.3117, allocations: 169.7 kB / 410.3 MB, free: 3.484 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.3117, allocations: 24 kB / 410.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.3154, allocations: 4.185 MB / 414.5 MB, free: 15.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3154, allocations: 3.938 kB / 414.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.3189, allocations: 1.867 MB / 416.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003774/0.3193, allocations: 224.2 kB / 416.6 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3194, allocations: 27.47 kB / 416.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006383/0.3201, allocations: 68 kB / 416.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3203, allocations: 84.88 kB / 416.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/0.3203, allocations: 39.98 kB / 416.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002789/0.3206, allocations: 263.2 kB / 417 MB, free: 12.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3206, allocations: 0 / 417 MB, free: 12.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001118/0.3218, allocations: 312 kB / 417.3 MB, free: 12.13 MB / 334.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.0002792/0.3221, allocations: 179 kB / 417.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.3248, allocations: 1.454 MB / 419 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3248, allocations: 4.062 kB / 419 MB, free: 10.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.3262, allocations: 0.8589 MB / 419.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.3267, allocations: 70 kB / 419.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.3304, allocations: 1.93 MB / 421.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005491/0.331, allocations: 1.009 MB / 422.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005842/0.3316, allocations: 142.6 kB / 423 MB, free: 6.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.3318, allocations: 71.42 kB / 423 MB, free: 6.359 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3318, allocations: 0 / 423 MB, free: 6.359 MB / 334.1 MB Notification: Performance of Templates: time 0.01739/0.3492, allocations: 10.15 MB / 433.2 MB, free: 12.3 MB / 350.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 -s gbode -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/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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches