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.001222/0.001222, allocations: 110.2 kB / 17.17 MB, free: 6.348 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.001313/0.001313, allocations: 194.9 kB / 18.08 MB, free: 5.441 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.379/1.379, allocations: 222.9 MB / 241.8 MB, free: 13.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001039/0.001039, allocations: 50.83 kB / 300.6 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.111, allocations: 49.45 MB / 350.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007275/0.1183, allocations: 5.056 MB / 355.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004258/0.1226, allocations: 2.09 MB / 357.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007043/0.1233, allocations: 16 kB / 357.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003407/0.1268, allocations: 1.321 MB / 358.6 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.1287, allocations: 0.5133 MB / 359.1 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.1309, allocations: 1.031 MB / 360.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.1322, allocations: 0.7121 MB / 360.8 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001245/0.1335, allocations: 0.5935 MB / 361.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.1341, allocations: 318.8 kB / 361.7 MB, free: 8.938 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.1347, allocations: 422.3 kB / 362.1 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.1348, allocations: 55.94 kB / 362.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001091/0.1359, allocations: 371.6 kB / 362.5 MB, free: 8.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001719/0.1361, allocations: 151.4 kB / 362.7 MB, free: 7.957 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.1366, allocations: 362.1 kB / 363 MB, free: 7.602 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.1378, allocations: 0.9156 MB / 364 MB, free: 6.684 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1378, allocations: 0 / 364 MB, free: 6.684 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1378, allocations: 0 / 364 MB, free: 6.684 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.892e-05/0.1379, allocations: 0 / 364 MB, free: 6.684 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.005175/0.143, allocations: 1.459 MB / 365.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.1431, allocations: 8.031 kB / 365.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002662/0.1458, allocations: 383.8 kB / 365.8 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.1461, allocations: 255.3 kB / 366.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.042e-05/0.1462, allocations: 66.38 kB / 366.1 MB, free: 4.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.1464, allocations: 80.38 kB / 366.2 MB, free: 4.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001966/0.1484, allocations: 0.8837 MB / 367.1 MB, free: 3.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.559e-05/0.1484, allocations: 4 kB / 367.1 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.222e-05/0.1485, allocations: 32 kB / 367.1 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.1486, allocations: 23.98 kB / 367.1 MB, free: 3.402 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.1506, allocations: 0.8003 MB / 367.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1749/0.3255, allocations: 2.962 MB / 370.9 MB, free: 23.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.3267, allocations: 0.9974 MB / 371.9 MB, free: 23.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005476/0.3273, allocations: 240.8 kB / 372.1 MB, free: 23.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.3274, allocations: 95.22 kB / 372.2 MB, free: 22.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.3274, allocations: 42.47 kB / 372.3 MB, free: 22.95 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.825e-06/0.3274, allocations: 3.844 kB / 372.3 MB, free: 22.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.00827/0.3357, allocations: 2.427 MB / 374.7 MB, free: 22.34 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3358, allocations: 83.3 kB / 374.8 MB, free: 22.24 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003784/0.3362, allocations: 315.4 kB / 375.1 MB, free: 22.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3362, allocations: 36.88 kB / 375.1 MB, free: 22.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.3364, allocations: 362.2 kB / 375.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.3366, allocations: 209 kB / 375.7 MB, free: 21.57 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.3368, allocations: 154.6 kB / 375.8 MB, free: 21.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.71e-05/0.3369, allocations: 352 kB / 376.2 MB, free: 21.17 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008334/0.3377, allocations: 272.8 kB / 376.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.3387, allocations: 0.51 MB / 377 MB, free: 20.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3405, allocations: 0.812 MB / 377.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.3405, allocations: 5.656 kB / 377.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002243/0.3427, allocations: 0.9046 MB / 378.7 MB, free: 19.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.3428, allocations: 12.97 kB / 378.7 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/0.3428, allocations: 7.766 kB / 378.7 MB, free: 19.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/0.3431, allocations: 65.31 kB / 378.8 MB, free: 19.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009555/0.3441, allocations: 207.9 kB / 379 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/0.3458, allocations: 2.661 MB / 381.6 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007899/0.3466, allocations: 63.92 kB / 381.7 MB, free: 17.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.3466, allocations: 44.34 kB / 381.7 MB, free: 17.11 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.0003357/0.347, allocations: 215.5 kB / 381.9 MB, free: 16.92 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.78e-05/0.3471, allocations: 46.56 kB / 382 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.3492, allocations: 0.7502 MB / 382.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3492, allocations: 5.625 kB / 382.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.3492, allocations: 4.688 kB / 382.7 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/0.3492, allocations: 7.25 kB / 382.8 MB, free: 16.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002881/0.3521, allocations: 1.417 MB / 384.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.3521, allocations: 5.609 kB / 384.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007257/0.3529, allocations: 135 kB / 384.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000191/0.3531, allocations: 64.56 kB / 384.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.3531, allocations: 20.41 kB / 384.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3545, allocations: 2.642 MB / 387 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3545, allocations: 0 / 387 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002819/0.3573, allocations: 1.085 MB / 388.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3576, allocations: 166.4 kB / 388.3 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.3576, allocations: 19.2 kB / 388.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.3582, allocations: 50.98 kB / 388.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.3584, allocations: 51.38 kB / 388.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.3584, allocations: 20.52 kB / 388.4 MB, free: 12.48 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002372/0.3587, allocations: 215.8 kB / 388.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 3e-07/0.3587, allocations: 4 kB / 388.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008229/0.3595, allocations: 174.1 kB / 388.8 MB, free: 12.34 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.0002767/0.3598, allocations: 159.8 kB / 389 MB, free: 12.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.362, allocations: 0.9219 MB / 389.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.362, allocations: 1.219 kB / 389.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.363, allocations: 0.5446 MB / 390.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.3635, allocations: 45.66 kB / 390.5 MB, free: 11.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.3665, allocations: 1.612 MB / 392.1 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.367, allocations: 0.8834 MB / 393 MB, free: 9.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002737/0.3672, allocations: 67.81 kB / 393 MB, free: 9.715 MB / 302.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3672, allocations: 0 / 393 MB, free: 9.715 MB / 302.1 MB Notification: Performance of Templates: time 0.01313/0.3804, allocations: 13.22 MB / 406.3 MB, free: 1.039 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/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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches