Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001223/0.001223, allocations: 98.34 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 207.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.2 MB / 245.9 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002335/0.0002335, allocations: 8 kB / 306.6 MB, free: 1.422 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1075, allocations: 51.49 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002758/0.1103, allocations: 2.276 MB / 360.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1115, allocations: 0.76 MB / 361.1 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001382/0.1117, allocations: 4 kB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1119, allocations: 47.62 kB / 361.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.1121, allocations: 91.73 kB / 361.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1124, allocations: 75.86 kB / 361.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002837/0.1126, allocations: 263.4 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1129, allocations: 97.81 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.1131, allocations: 131.5 kB / 361.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1133, allocations: 147.3 kB / 361.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.1133, allocations: 20 kB / 362 MB, free: 10.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-05/0.1134, allocations: 20 kB / 362 MB, free: 9.992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.1134, allocations: 55.75 kB / 362 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.723e-05/0.1135, allocations: 81.58 kB / 362.1 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.1138, allocations: 287.4 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1138, allocations: 3.938 kB / 362.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1138, allocations: 4 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1138, allocations: 0 / 362.4 MB, free: 9.562 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001071/0.1149, allocations: 0.6081 MB / 363 MB, free: 8.906 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.115, allocations: 8.031 kB / 363 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.115, allocations: 39.53 kB / 363.1 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1153, allocations: 259.4 kB / 363.3 MB, free: 8.562 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.097e-05/0.1154, allocations: 28.66 kB / 363.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.736e-05/0.1154, allocations: 31.98 kB / 363.4 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005849/0.116, allocations: 298 kB / 363.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1161, allocations: 3.938 kB / 363.7 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.1161, allocations: 8 kB / 363.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1161, allocations: 8 kB / 363.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005967/0.1167, allocations: 270.5 kB / 363.9 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.1183, allocations: 1.128 MB / 365.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1187, allocations: 152.9 kB / 365.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.1188, allocations: 0 / 365.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1188, allocations: 42.56 kB / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/0.1188, allocations: 0 / 365.3 MB, free: 6.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002131/0.1209, allocations: 0.6734 MB / 365.9 MB, free: 5.809 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.121, allocations: 55.58 kB / 366 MB, free: 5.742 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/0.1213, allocations: 266.7 kB / 366.3 MB, free: 5.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1213, allocations: 25.7 kB / 366.3 MB, free: 5.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.1214, allocations: 231.4 kB / 366.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.1215, allocations: 67 kB / 366.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.573e-05/0.1215, allocations: 16 kB / 366.6 MB, free: 5.129 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1216, allocations: 334.8 kB / 366.9 MB, free: 4.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.1219, allocations: 103.9 kB / 367 MB, free: 4.691 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1223, allocations: 211.9 kB / 367.2 MB, free: 4.438 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.1226, allocations: 121.1 kB / 367.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1226, allocations: 0 / 367.3 MB, free: 4.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000839/0.1235, allocations: 423.3 kB / 367.7 MB, free: 3.898 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1235, allocations: 8 kB / 367.8 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1235, allocations: 3.938 kB / 367.8 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.1238, allocations: 61.67 kB / 367.8 MB, free: 3.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.1241, allocations: 79.89 kB / 367.9 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.1261, allocations: 2.651 MB / 370.6 MB, free: 0.8203 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.1264, allocations: 23.98 kB / 370.6 MB, free: 0.7969 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1264, allocations: 16 kB / 370.6 MB, free: 0.7812 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 (37): * Single equations (assignments): 35 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.1266, allocations: 158.3 kB / 370.7 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.1266, allocations: 35.56 kB / 370.8 MB, free: 0.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.643e-05/0.1267, allocations: 30.19 kB / 370.8 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1267, allocations: 4 kB / 370.8 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1267, allocations: 7.984 kB / 370.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.1267, allocations: 0 / 370.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.1271, allocations: 325.7 kB / 371.1 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1271, allocations: 288 / 371.1 MB, free: 176 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.1273, allocations: 47.92 kB / 371.2 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001322/0.1275, allocations: 57.66 kB / 371.2 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.1275, allocations: 8 kB / 371.2 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.188/0.3155, allocations: 2.635 MB / 373.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3155, allocations: 1.344 kB / 373.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007796/0.3163, allocations: 395.6 kB / 374.3 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.421e-05/0.3164, allocations: 102.3 kB / 374.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.3164, allocations: 5.188 kB / 374.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.3166, allocations: 24.44 kB / 374.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.095e-05/0.3167, allocations: 18.69 kB / 374.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.3167, allocations: 10.27 kB / 374.4 MB, free: 17.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.3169, allocations: 185.5 kB / 374.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.317, allocations: 1.406 kB / 374.6 MB, free: 17.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004307/0.3174, allocations: 71.78 kB / 374.7 MB, free: 17.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.3175, allocations: 102.5 kB / 374.8 MB, free: 17.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009825/0.3185, allocations: 0.4919 MB / 375.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3185, allocations: 0 / 375.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004867/0.319, allocations: 361.7 kB / 375.6 MB, free: 16.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.3193, allocations: 31.25 kB / 375.7 MB, free: 16.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.3205, allocations: 0.6773 MB / 376.3 MB, free: 16.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3208, allocations: 0.7831 MB / 377.1 MB, free: 15.58 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001525/0.321, allocations: 27.64 kB / 377.1 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.215e-05/0.321, allocations: 19.84 kB / 377.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of SimCode: time 4.71e-07/0.321, allocations: 1.031 kB / 377.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of Templates: time 0.006529/0.3276, allocations: 2.423 MB / 379.6 MB, free: 15.42 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches