Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 110.7 kB / 16.51 MB, free: 6.715 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.001842/0.001842, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009833/0.0009834, allocations: 50.11 kB / 300 MB, free: 6.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08206/0.08306, allocations: 49.45 MB / 349.4 MB, free: 4.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006151/0.08924, allocations: 5.052 MB / 354.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.09279, allocations: 2.075 MB / 356.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.09309, allocations: 16 kB / 356.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002768/0.09587, allocations: 1.331 MB / 357.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.09696, allocations: 0.521 MB / 358.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.09879, allocations: 1.022 MB / 359.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007395/0.09954, allocations: 0.716 MB / 360.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009063/0.1005, allocations: 0.6013 MB / 360.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.1008, allocations: 302.8 kB / 361 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003918/0.1012, allocations: 434.3 kB / 361.5 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.944e-05/0.1013, allocations: 55.94 kB / 361.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006388/0.102, allocations: 367.7 kB / 361.9 MB, free: 8.281 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1021, allocations: 147.4 kB / 362 MB, free: 8.137 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.1024, allocations: 366.1 kB / 362.4 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.1034, allocations: 1.172 MB / 363.6 MB, free: 6.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1034, allocations: 4 kB / 363.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1035, allocations: 0 / 363.6 MB, free: 6.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1035, allocations: 0 / 363.6 MB, free: 6.598 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004222/0.1077, allocations: 1.455 MB / 365 MB, free: 5.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.1077, allocations: 12.03 kB / 365 MB, free: 5.078 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002634/0.1104, allocations: 379.7 kB / 365.4 MB, free: 4.707 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002224/0.1106, allocations: 263.2 kB / 365.7 MB, free: 4.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.452e-05/0.1107, allocations: 62.38 kB / 365.7 MB, free: 4.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.1108, allocations: 84.38 kB / 365.8 MB, free: 4.27 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.1125, allocations: 0.8758 MB / 366.7 MB, free: 3.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.1125, allocations: 4 kB / 366.7 MB, free: 3.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.753e-05/0.1126, allocations: 36 kB / 366.7 MB, free: 3.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.1126, allocations: 20 kB / 366.7 MB, free: 3.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.1144, allocations: 0.8042 MB / 367.5 MB, free: 2.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1406/0.255, allocations: 2.96 MB / 370.5 MB, free: 23.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.2562, allocations: 0.9948 MB / 371.5 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.2568, allocations: 240.6 kB / 371.7 MB, free: 23.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.2569, allocations: 101.9 kB / 371.8 MB, free: 23.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2569, allocations: 43.06 kB / 371.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.625e-06/0.2569, allocations: 1.219 kB / 371.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008086/0.265, allocations: 2.419 MB / 374.3 MB, free: 22.45 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.265, allocations: 84.88 kB / 374.4 MB, free: 22.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.2653, allocations: 318.2 kB / 374.7 MB, free: 22.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.2654, allocations: 38.89 kB / 374.7 MB, free: 22.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2655, allocations: 362.7 kB / 375.1 MB, free: 21.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.2656, allocations: 210.2 kB / 375.3 MB, free: 21.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.2659, allocations: 154.8 kB / 375.4 MB, free: 21.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.2659, allocations: 350.2 kB / 375.8 MB, free: 21.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007987/0.2667, allocations: 273.3 kB / 376 MB, free: 21.2 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008749/0.2676, allocations: 0.51 MB / 376.5 MB, free: 20.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.2692, allocations: 0.8115 MB / 377.4 MB, free: 20.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.2692, allocations: 2.375 kB / 377.4 MB, free: 20.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002101/0.2713, allocations: 0.9062 MB / 378.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2714, allocations: 9.875 kB / 378.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.2714, allocations: 11.06 kB / 378.3 MB, free: 19.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/0.2716, allocations: 74.56 kB / 378.4 MB, free: 19.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009053/0.2725, allocations: 205.4 kB / 378.6 MB, free: 19.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.2739, allocations: 2.658 MB / 381.2 MB, free: 17.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.2746, allocations: 63.55 kB / 381.3 MB, free: 17.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.2746, allocations: 38.97 kB / 381.3 MB, free: 17.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002496/0.2749, allocations: 214.7 kB / 381.5 MB, free: 17.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.555e-05/0.275, allocations: 44.06 kB / 381.6 MB, free: 17.02 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/0.277, allocations: 0.7441 MB / 382.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.277, allocations: 9.844 kB / 382.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.277, allocations: 5.062 kB / 382.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.277, allocations: 3.469 kB / 382.3 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.2798, allocations: 1.43 MB / 383.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2798, allocations: 0 / 383.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007178/0.2806, allocations: 144.2 kB / 383.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.2807, allocations: 65.3 kB / 384 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/0.2808, allocations: 15.89 kB / 384 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.282, allocations: 2.65 MB / 386.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.282, allocations: 0 / 386.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/0.2847, allocations: 1.084 MB / 387.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.2849, allocations: 163.1 kB / 387.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.162e-05/0.285, allocations: 19.55 kB / 387.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005538/0.2855, allocations: 50.97 kB / 387.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/0.2857, allocations: 48.34 kB / 388 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.236e-05/0.2857, allocations: 23.19 kB / 388 MB, free: 12.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002146/0.2859, allocations: 216.5 kB / 388.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2859, allocations: 0 / 388.2 MB, free: 12.47 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007731/0.2867, allocations: 177.3 kB / 388.4 MB, free: 12.45 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.287, allocations: 160.1 kB / 388.6 MB, free: 12.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002052/0.289, allocations: 0.917 MB / 389.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2891, allocations: 2.188 kB / 389.5 MB, free: 11.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009959/0.2901, allocations: 0.5498 MB / 390 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.2905, allocations: 40.25 kB / 390.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.293, allocations: 1.577 MB / 391.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.2933, allocations: 0.8807 MB / 392.5 MB, free: 9.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004845/0.2938, allocations: 94.36 kB / 392.6 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.2939, allocations: 52.52 kB / 392.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2939, allocations: 0 / 392.7 MB, free: 9.836 MB / 302.1 MB Notification: Performance of Templates: time 0.009767/0.3037, allocations: 6.1 MB / 398.8 MB, free: 7.355 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches