Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.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.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.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.001039/0.001039, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001078/0.001078, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.323/1.323, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001079, allocations: 43.81 kB / 300.1 MB, free: 5.988 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08936/0.09046, allocations: 49.44 MB / 349.6 MB, free: 4.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003733/0.09422, allocations: 2.872 MB / 352.5 MB, free: 1.645 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.09562, allocations: 0.7478 MB / 353.2 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/0.09579, allocations: 4 kB / 353.2 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.09608, allocations: 51.61 kB / 353.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.09635, allocations: 79.44 kB / 353.3 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.09663, allocations: 103.8 kB / 353.4 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.09699, allocations: 394.5 kB / 353.8 MB, free: 276 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.09724, allocations: 130.8 kB / 353.9 MB, free: 144 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.0975, allocations: 159.4 kB / 354.1 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.0977, allocations: 171.2 kB / 354.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.257e-05/0.09776, allocations: 36 kB / 354.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.919e-05/0.09781, allocations: 32 kB / 354.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.131e-05/0.09788, allocations: 79.75 kB / 354.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.09803, allocations: 183 kB / 354.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003509/0.09839, allocations: 394.9 kB / 355 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.0984, allocations: 3.938 kB / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.09841, allocations: 0 / 355 MB, free: 15.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.09842, allocations: 0 / 355 MB, free: 15.1 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.001122/0.09955, allocations: 0.6471 MB / 355.6 MB, free: 14.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.09959, allocations: 8.031 kB / 355.6 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.851e-05/0.09967, allocations: 40.47 kB / 355.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000285/0.09996, allocations: 276.6 kB / 355.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.09999, allocations: 25.03 kB / 356 MB, free: 14.02 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/0.1, allocations: 32.38 kB / 356 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005881/0.1006, allocations: 294.3 kB / 356.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1007, allocations: 0 / 356.3 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/0.1007, allocations: 8 kB / 356.3 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1007, allocations: 11.94 kB / 356.3 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.1013, allocations: 258.4 kB / 356.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001658/0.103, allocations: 1.116 MB / 357.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.1034, allocations: 158.5 kB / 357.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001764/0.1036, allocations: 60.83 kB / 357.9 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.1036, allocations: 3.984 kB / 357.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.1036, allocations: 42.55 kB / 357.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.1036, allocations: 0 / 357.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00202/0.1057, allocations: 0.5903 MB / 358.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.1057, allocations: 55.41 kB / 358.6 MB, free: 11.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.106, allocations: 278.6 kB / 358.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.106, allocations: 29.7 kB / 358.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1062, allocations: 227.5 kB / 359.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.1062, allocations: 82.84 kB / 359.2 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.731e-05/0.1063, allocations: 69.59 kB / 359.3 MB, free: 10.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1064, allocations: 334.8 kB / 359.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1067, allocations: 95.94 kB / 359.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003394/0.1071, allocations: 199.9 kB / 359.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.1077, allocations: 305.1 kB / 360.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1077, allocations: 0 / 360.2 MB, free: 9.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008306/0.1085, allocations: 393.3 kB / 360.6 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.1086, allocations: 8 kB / 360.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1086, allocations: 0 / 360.6 MB, free: 9.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.1089, allocations: 73.61 kB / 360.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.1092, allocations: 67.89 kB / 360.7 MB, free: 9.008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.1111, allocations: 2.844 MB / 363.5 MB, free: 5.879 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.1114, allocations: 15.98 kB / 363.6 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.1114, allocations: 16 kB / 363.6 MB, free: 5.848 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 (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.00015/0.1116, allocations: 153.8 kB / 363.7 MB, free: 5.688 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.1116, allocations: 23.72 kB / 363.7 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.507e-05/0.1117, allocations: 34.31 kB / 363.8 MB, free: 5.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1117, allocations: 3.984 kB / 363.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.1117, allocations: 0 / 363.8 MB, free: 5.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1117, allocations: 7.984 kB / 363.8 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003529/0.1121, allocations: 329.4 kB / 364.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1121, allocations: 0 / 364.1 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.1123, allocations: 51.89 kB / 364.2 MB, free: 5.199 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001636/0.1125, allocations: 53.67 kB / 364.2 MB, free: 5.141 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.1125, allocations: 8 kB / 364.2 MB, free: 5.133 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001722/0.1143, allocations: 2.833 MB / 367.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1143, allocations: 0 / 367.1 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/0.1149, allocations: 368.7 kB / 367.4 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.115, allocations: 116.6 kB / 367.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.1151, allocations: 0 / 367.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.1153, allocations: 19.97 kB / 367.5 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1153, allocations: 15.98 kB / 367.6 MB, free: 1.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1154, allocations: 4 kB / 367.6 MB, free: 1.469 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1155, allocations: 198 kB / 367.8 MB, free: 1.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1156, allocations: 0 / 367.8 MB, free: 1.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1159, allocations: 76 kB / 367.8 MB, free: 1.199 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 (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.0001106/0.1161, allocations: 111.2 kB / 367.9 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008971/0.117, allocations: 487 kB / 368.4 MB, free: 0.582 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.117, allocations: 7.938 kB / 368.4 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004762/0.1175, allocations: 342 kB / 368.8 MB, free: 220 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.1179, allocations: 36.55 kB / 368.8 MB, free: 184 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2029/0.3208, allocations: 0.6754 MB / 369.5 MB, free: 25.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.321, allocations: 0.7739 MB / 370.2 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001826/0.3212, allocations: 33.14 kB / 370.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.841e-05/0.3213, allocations: 24.89 kB / 370.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3213, allocations: 0 / 370.3 MB, free: 24.36 MB / 302.1 MB Notification: Performance of Templates: time 0.007141/0.3285, allocations: 2.701 MB / 373 MB, free: 24.31 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches