Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 73.33 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002176/0.002176, allocations: 158.5 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 59.03 kB / 325.6 MB, free: 264 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08476/0.08629, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004205/0.0905, allocations: 2.679 MB / 381.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.09177, allocations: 0.7477 MB / 382.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.09189, allocations: 8 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.09209, allocations: 63.38 kB / 382.4 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.09234, allocations: 99.19 kB / 382.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.0926, allocations: 111.8 kB / 382.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004195/0.09302, allocations: 402.4 kB / 383 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.09321, allocations: 91.28 kB / 383.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.09348, allocations: 163.4 kB / 383.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.0937, allocations: 163.1 kB / 383.4 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.202e-05/0.09375, allocations: 32 kB / 383.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.936e-05/0.09381, allocations: 36 kB / 383.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.236e-05/0.09389, allocations: 71.77 kB / 383.5 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001574/0.09404, allocations: 155.2 kB / 383.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.09449, allocations: 414.3 kB / 384.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.09449, allocations: 0 / 384.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.09449, allocations: 0 / 384.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.0945, allocations: 0 / 384.1 MB, free: 10.43 MB / 350.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.001172/0.09567, allocations: 0.5831 MB / 384.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.09571, allocations: 12.03 kB / 384.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.962e-05/0.09578, allocations: 40.7 kB / 384.7 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.09613, allocations: 225.7 kB / 385 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.09616, allocations: 24.97 kB / 385 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.45e-05/0.09621, allocations: 36.36 kB / 385 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.09681, allocations: 290.4 kB / 385.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.09683, allocations: 0 / 385.3 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.09686, allocations: 16 kB / 385.3 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.09687, allocations: 8 kB / 385.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006377/0.0975, allocations: 254.4 kB / 385.6 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.09908, allocations: 0.8791 MB / 386.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003753/0.09946, allocations: 146.1 kB / 386.6 MB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.09964, allocations: 60.81 kB / 386.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.09967, allocations: 7.938 kB / 386.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.09969, allocations: 30.56 kB / 386.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.243e-06/0.09969, allocations: 0 / 386.7 MB, free: 7.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002055/0.1017, allocations: 0.6015 MB / 387.3 MB, free: 7.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1018, allocations: 55.41 kB / 387.3 MB, free: 7.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/0.1021, allocations: 281.8 kB / 387.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1021, allocations: 29.7 kB / 387.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1023, allocations: 248 kB / 387.9 MB, free: 6.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.523e-05/0.1023, allocations: 83.31 kB / 388 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.1024, allocations: 57.66 kB / 388 MB, free: 6.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1026, allocations: 342.8 kB / 388.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1029, allocations: 95.94 kB / 388.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/0.1033, allocations: 196.1 kB / 388.7 MB, free: 5.633 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006469/0.1039, allocations: 301.1 kB / 388.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1039, allocations: 0 / 388.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008979/0.1048, allocations: 401.1 kB / 389.3 MB, free: 4.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1048, allocations: 8 kB / 389.3 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.1048, allocations: 4 kB / 389.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.1051, allocations: 69.95 kB / 389.4 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.1054, allocations: 75.83 kB / 389.5 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.1075, allocations: 2.592 MB / 392.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.1077, allocations: 19.98 kB / 392.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.994e-05/0.1078, allocations: 19.98 kB / 392.1 MB, free: 1.898 MB / 350.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.0001493/0.1079, allocations: 150.4 kB / 392.3 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.391e-05/0.108, allocations: 27.8 kB / 392.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.108, allocations: 30.27 kB / 392.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.108, allocations: 8.062 kB / 392.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.108, allocations: 0 / 392.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1081, allocations: 0 / 392.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003046/0.1084, allocations: 233.2 kB / 392.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.1084, allocations: 3.938 kB / 392.6 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.1086, allocations: 43.91 kB / 392.6 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/0.1087, allocations: 57.67 kB / 392.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.1088, allocations: 0 / 392.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.1107, allocations: 2.576 MB / 395.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1107, allocations: 0 / 395.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007356/0.1115, allocations: 376.9 kB / 395.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.1115, allocations: 27.8 kB / 395.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.1116, allocations: 8 kB / 395.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.1118, allocations: 15.98 kB / 395.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.1118, allocations: 19.95 kB / 395.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1118, allocations: 11.94 kB / 395.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001954/0.112, allocations: 197.2 kB / 395.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.112, allocations: 0 / 395.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004056/0.1124, allocations: 72 kB / 396 MB, free: 13.79 MB / 366.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.0001136/0.1126, allocations: 107.2 kB / 396.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009183/0.1135, allocations: 461.1 kB / 396.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1135, allocations: 0 / 396.5 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005227/0.114, allocations: 349.2 kB / 396.9 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.1143, allocations: 28.42 kB / 396.9 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.1153, allocations: 0.5616 MB / 397.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001538/0.1155, allocations: 172.7 kB / 397.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001156/0.1156, allocations: 30.27 kB / 397.6 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.213e-05/0.1157, allocations: 28.44 kB / 397.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1157, allocations: 0 / 397.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Templates: time 0.006932/0.1226, allocations: 2.845 MB / 400.5 MB, free: 9.195 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.1740087940124795]