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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001051/0.001051, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8584/0.8584, allocations: 177 MB / 204.1 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.33e-05, allocations: 10.22 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.003734/0.003748, allocations: 4.598 MB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.005785, allocations: 2.027 MB / 331.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.005946, allocations: 16 kB / 331.2 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001381/0.007327, allocations: 1.372 MB / 332.5 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005404/0.007868, allocations: 433.1 kB / 333 MB, free: 7.402 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.008876, allocations: 1.147 MB / 334.1 MB, free: 6.254 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006215/0.009497, allocations: 0.7737 MB / 334.9 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005445/0.01004, allocations: 0.5636 MB / 335.4 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003514/0.01039, allocations: 486.9 kB / 335.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.01065, allocations: 335.1 kB / 336.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.0107, allocations: 68 kB / 336.3 MB, free: 4.035 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.01109, allocations: 395.3 kB / 336.7 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.01117, allocations: 167.3 kB / 336.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.01132, allocations: 255.3 kB / 337.1 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.01215, allocations: 1.273 MB / 338.4 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.844e-06/0.01215, allocations: 0 / 338.4 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.01215, allocations: 0 / 338.4 MB, free: 1.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.01216, allocations: 0 / 338.4 MB, free: 1.957 MB / 298.7 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.002197/0.01435, allocations: 1.398 MB / 339.8 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.01439, allocations: 15.98 kB / 339.8 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.904e-05/0.01449, allocations: 127.4 kB / 339.9 MB, free: 384 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001187/0.01568, allocations: 368.1 kB / 340.3 MB, free: 16 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.01583, allocations: 208.8 kB / 340.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.01587, allocations: 66.31 kB / 340.6 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.138e-05/0.01595, allocations: 88.31 kB / 340.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009685/0.01692, allocations: 0.9014 MB / 341.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/0.01694, allocations: 7.891 kB / 341.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.341e-05/0.01701, allocations: 32 kB / 341.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.01702, allocations: 20 kB / 341.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.01833, allocations: 0.7886 MB / 342.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002486/0.02082, allocations: 2.409 MB / 344.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.02145, allocations: 0.51 MB / 345.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002764/0.02172, allocations: 214.2 kB / 345.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.02178, allocations: 20.48 kB / 345.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.02181, allocations: 47.06 kB / 345.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 1.512e-06/0.02181, allocations: 0 / 345.6 MB, free: 10.53 MB / 314.7 MB Notification: Performance of matching and sorting (n=61): time 0.003599/0.02541, allocations: 2.167 MB / 347.8 MB, free: 8.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.02544, allocations: 81.61 kB / 347.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.02566, allocations: 336.2 kB / 348.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.02569, allocations: 33.7 kB / 348.2 MB, free: 7.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.02583, allocations: 383.8 kB / 348.6 MB, free: 7.457 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.575e-05/0.02593, allocations: 214.2 kB / 348.8 MB, free: 7.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.02619, allocations: 142.6 kB / 348.9 MB, free: 7.102 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/0.02629, allocations: 354.8 kB / 349.3 MB, free: 6.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.02668, allocations: 269.8 kB / 349.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.02716, allocations: 0.5255 MB / 350.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.02805, allocations: 0.8088 MB / 350.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.02806, allocations: 7.938 kB / 350.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001103/0.02916, allocations: 0.9009 MB / 351.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.02917, allocations: 8 kB / 351.8 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.02918, allocations: 8 kB / 351.8 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001519/0.02933, allocations: 81.83 kB / 351.9 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/0.02974, allocations: 191.7 kB / 352.1 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.03091, allocations: 2.657 MB / 354.7 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.03119, allocations: 55.95 kB / 354.8 MB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.556e-05/0.03123, allocations: 35.98 kB / 354.8 MB, free: 0.75 MB / 314.7 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.0001693/0.0314, allocations: 217.7 kB / 355 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.03145, allocations: 43.72 kB / 355.1 MB, free: 496 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009969/0.03245, allocations: 0.7335 MB / 355.8 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.03245, allocations: 4 kB / 355.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.03245, allocations: 4 kB / 355.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.03246, allocations: 0 / 355.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.03403, allocations: 1.309 MB / 357.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.03403, allocations: 4 kB / 357.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.03433, allocations: 123.8 kB / 357.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-05/0.03443, allocations: 65.67 kB / 357.3 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.03446, allocations: 19.92 kB / 357.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.03554, allocations: 2.626 MB / 359.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.03554, allocations: 0 / 359.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001327/0.03687, allocations: 1.074 MB / 361 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.03699, allocations: 91.66 kB / 361.1 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.03702, allocations: 15.92 kB / 361.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.03724, allocations: 48.02 kB / 361.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.03732, allocations: 44.41 kB / 361.2 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.03734, allocations: 19.98 kB / 361.2 MB, free: 9.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.03748, allocations: 219.1 kB / 361.4 MB, free: 9.766 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03748, allocations: 0 / 361.4 MB, free: 9.766 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000391/0.03787, allocations: 183.9 kB / 361.6 MB, free: 9.586 MB / 330.7 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.001768/0.03964, allocations: 1.684 MB / 363.3 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.04067, allocations: 0.8689 MB / 364.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.04068, allocations: 8.188 kB / 364.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004981/0.04117, allocations: 0.5117 MB / 364.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.04148, allocations: 54.12 kB / 364.7 MB, free: 6.383 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/0.04639, allocations: 5.1 MB / 369.8 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.04668, allocations: 290.8 kB / 370.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.04689, allocations: 84.52 kB / 370.2 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002148/0.0471, allocations: 228.4 kB / 370.4 MB, free: 388 kB / 330.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0471, allocations: 0 / 370.4 MB, free: 388 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02605/0.07315, allocations: 12.49 MB / 382.9 MB, free: 4.117 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/7.55, allocations: 7.797 kB / 382.9 MB, free: 4.109 MB / 346.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.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: 9.147648317739367]