Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001059/0.001059, allocations: 115.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.001049/0.001049, allocations: 203.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.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 61.31 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.08806, allocations: 50.53 MB / 358.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006605/0.09471, allocations: 5.083 MB / 364 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.09798, allocations: 2.148 MB / 366.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.09828, allocations: 16 kB / 366.2 MB, free: 6.027 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.1014, allocations: 1.404 MB / 367.6 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001183/0.1026, allocations: 429.2 kB / 368 MB, free: 4.195 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002062/0.1047, allocations: 1.208 MB / 369.2 MB, free: 2.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.1055, allocations: 0.7433 MB / 369.9 MB, free: 2.246 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008437/0.1063, allocations: 0.6572 MB / 370.6 MB, free: 1.574 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003671/0.1067, allocations: 342.8 kB / 370.9 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004362/0.1071, allocations: 430.3 kB / 371.3 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.276e-05/0.1072, allocations: 68 kB / 371.4 MB, free: 0.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007515/0.108, allocations: 415.6 kB / 371.8 MB, free: 352 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1081, allocations: 167.4 kB / 372 MB, free: 184 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1514/0.2595, allocations: 377.2 kB / 372.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001669/0.2612, allocations: 1.209 MB / 373.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2613, allocations: 0.6562 kB / 373.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2613, allocations: 0 / 373.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.2613, allocations: 0.9688 kB / 373.6 MB, free: 11.13 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.004256/0.2656, allocations: 1.47 MB / 375 MB, free: 10.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2656, allocations: 10.16 kB / 375 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.2684, allocations: 382.6 kB / 375.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.2686, allocations: 266.1 kB / 375.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.2687, allocations: 63.94 kB / 375.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.2689, allocations: 80.38 kB / 375.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.2705, allocations: 0.8791 MB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.2706, allocations: 2.125 kB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-05/0.2707, allocations: 32 kB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.2707, allocations: 23.19 kB / 376.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.2724, allocations: 0.8032 MB / 377.6 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.2764, allocations: 3.015 MB / 380.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.2775, allocations: 0.9969 MB / 381.6 MB, free: 7.988 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.278, allocations: 244.8 kB / 381.8 MB, free: 7.898 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.2781, allocations: 179 kB / 382 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2e-05/0.2782, allocations: 41.09 kB / 382 MB, free: 7.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.254e-06/0.2782, allocations: 1.375 kB / 382 MB, free: 7.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006902/0.2851, allocations: 2.396 MB / 384.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2852, allocations: 84.73 kB / 384.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.2855, allocations: 318.9 kB / 384.8 MB, free: 6.32 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.2855, allocations: 36.05 kB / 384.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.2857, allocations: 365 kB / 385.2 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.2858, allocations: 208.8 kB / 385.4 MB, free: 5.832 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.286, allocations: 142.7 kB / 385.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.337e-05/0.2861, allocations: 351.9 kB / 385.9 MB, free: 5.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006955/0.2868, allocations: 276 kB / 386.2 MB, free: 5.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.2876, allocations: 0.5016 MB / 386.7 MB, free: 4.965 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001419/0.289, allocations: 0.8137 MB / 387.5 MB, free: 4.461 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.289, allocations: 7 kB / 387.5 MB, free: 4.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001978/0.291, allocations: 0.8935 MB / 388.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.291, allocations: 9.719 kB / 388.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.2911, allocations: 10.78 kB / 388.4 MB, free: 4.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002815/0.2914, allocations: 79.34 kB / 388.5 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/0.2922, allocations: 194.5 kB / 388.7 MB, free: 4.113 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.2936, allocations: 2.866 MB / 391.5 MB, free: 1.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000665/0.2943, allocations: 64.5 kB / 391.6 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.2943, allocations: 38.58 kB / 391.6 MB, free: 1.227 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.0002608/0.2946, allocations: 221.2 kB / 391.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.652e-05/0.2947, allocations: 42.03 kB / 391.9 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.2964, allocations: 0.733 MB / 392.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.2964, allocations: 8.703 kB / 392.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2964, allocations: 2.25 kB / 392.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.2964, allocations: 8.203 kB / 392.6 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002343/0.2988, allocations: 1.421 MB / 394.1 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2988, allocations: 3.281 kB / 394.1 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006408/0.2995, allocations: 127 kB / 394.2 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001886/0.2997, allocations: 60.66 kB / 394.2 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.275e-05/0.2997, allocations: 15.89 kB / 394.3 MB, free: 15.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.3015, allocations: 2.852 MB / 397.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3015, allocations: 1.25 kB / 397.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.3039, allocations: 1.077 MB / 398.2 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.3041, allocations: 165.6 kB / 398.4 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.15e-05/0.3042, allocations: 19.33 kB / 398.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000497/0.3047, allocations: 52.86 kB / 398.4 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3048, allocations: 48.12 kB / 398.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.3049, allocations: 17.02 kB / 398.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002213/0.3051, allocations: 218.9 kB / 398.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3051, allocations: 0 / 398.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000757/0.3059, allocations: 190.8 kB / 398.9 MB, free: 12.28 MB / 318.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.0002652/0.3061, allocations: 155 kB / 399 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.308, allocations: 0.9082 MB / 399.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.308, allocations: 0 / 399.9 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009356/0.309, allocations: 0.5521 MB / 400.5 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.3094, allocations: 47.2 kB / 400.5 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.3119, allocations: 1.234 MB / 401.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3123, allocations: 0.8804 MB / 402.7 MB, free: 9.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003596/0.3127, allocations: 84.58 kB / 402.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3128, allocations: 52.86 kB / 402.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3128, allocations: 0 / 402.8 MB, free: 9.672 MB / 318.1 MB Notification: Performance of Templates: time 0.01068/0.3235, allocations: 6.362 MB / 409.2 MB, free: 5.191 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches