Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.002197/0.002197, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002827/0.002827, allocations: 207.4 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.6/1.6, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] 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.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 67.88 kB / 377.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3245, allocations: 53.4 MB / 431.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006702/0.3312, allocations: 4.564 MB / 435.7 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.3358, allocations: 2.012 MB / 437.7 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000536/0.3363, allocations: 16 kB / 437.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.3398, allocations: 1.294 MB / 439 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.3413, allocations: 421.4 kB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002617/0.3439, allocations: 1.143 MB / 440.6 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.3451, allocations: 0.7316 MB / 441.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009822/0.3461, allocations: 0.5652 MB / 441.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000498/0.3466, allocations: 338.8 kB / 442.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004668/0.3471, allocations: 370.3 kB / 442.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.3472, allocations: 68 kB / 442.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/0.3482, allocations: 399.6 kB / 443 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001683/0.3484, allocations: 163.4 kB / 443.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.3487, allocations: 306.6 kB / 443.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001845/0.3506, allocations: 1.214 MB / 444.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3506, allocations: 0 / 444.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3506, allocations: 0 / 444.7 MB, free: 8.852 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3506, allocations: 4 kB / 444.7 MB, free: 8.848 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004446/0.355, allocations: 1.402 MB / 446.1 MB, free: 7.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.3551, allocations: 15.98 kB / 446.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.3553, allocations: 131.4 kB / 446.3 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.3578, allocations: 368.1 kB / 446.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.3581, allocations: 198.3 kB / 446.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.3582, allocations: 66.38 kB / 446.9 MB, free: 6.613 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.3583, allocations: 80.38 kB / 447 MB, free: 6.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.36, allocations: 0.9049 MB / 447.9 MB, free: 5.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.3601, allocations: 3.953 kB / 447.9 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.371e-05/0.3601, allocations: 32 kB / 447.9 MB, free: 5.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.3602, allocations: 23.94 kB / 447.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.362, allocations: 0.7808 MB / 448.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004733/0.3667, allocations: 2.41 MB / 451.1 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001178/0.3679, allocations: 0.5049 MB / 451.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.3684, allocations: 214.2 kB / 451.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.3685, allocations: 28.48 kB / 451.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.801e-05/0.3686, allocations: 39.06 kB / 451.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=58): time 3.106e-06/0.3686, allocations: 0 / 451.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007427/0.376, allocations: 2.159 MB / 454.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.747e-05/0.3761, allocations: 85.61 kB / 454.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.3765, allocations: 320.3 kB / 454.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.864e-05/0.3766, allocations: 37.7 kB / 454.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/0.3769, allocations: 375.9 kB / 454.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002135/0.3771, allocations: 218.1 kB / 455.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002464/0.3773, allocations: 150.5 kB / 455.2 MB, free: 14.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.3775, allocations: 354.7 kB / 455.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.3783, allocations: 269.8 kB / 455.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009587/0.3792, allocations: 0.5255 MB / 456.3 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001701/0.3809, allocations: 0.8049 MB / 457.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3809, allocations: 0 / 457.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002125/0.383, allocations: 0.8972 MB / 458.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.3831, allocations: 12 kB / 458.1 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.3831, allocations: 11.98 kB / 458.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.3834, allocations: 65.66 kB / 458.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008536/0.3842, allocations: 203.7 kB / 458.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/0.3868, allocations: 2.657 MB / 461 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.3875, allocations: 71.95 kB / 461.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.3875, allocations: 36 kB / 461.1 MB, free: 7.672 MB / 366.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.0003591/0.3879, allocations: 213.6 kB / 461.3 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.388, allocations: 43.7 kB / 461.4 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/0.3899, allocations: 0.7219 MB / 462.1 MB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.3899, allocations: 8 kB / 462.1 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.39, allocations: 4 kB / 462.1 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.39, allocations: 3.984 kB / 462.1 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.3927, allocations: 1.302 MB / 463.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3927, allocations: 0 / 463.4 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000635/0.3933, allocations: 131.8 kB / 463.5 MB, free: 5.176 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001742/0.3935, allocations: 57.67 kB / 463.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.3935, allocations: 15.98 kB / 463.6 MB, free: 5.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.3958, allocations: 2.642 MB / 466.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3958, allocations: 0 / 466.2 MB, free: 2.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002634/0.3984, allocations: 1.074 MB / 467.3 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.3987, allocations: 91.73 kB / 467.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.448e-05/0.3987, allocations: 12 kB / 467.4 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.3992, allocations: 47.94 kB / 467.5 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3993, allocations: 44.41 kB / 467.5 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.3994, allocations: 16 kB / 467.5 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002443/0.3996, allocations: 211.1 kB / 467.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3996, allocations: 0 / 467.7 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007351/0.4004, allocations: 179.9 kB / 467.9 MB, free: 0.543 MB / 366.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.002994/0.4033, allocations: 1.68 MB / 469.6 MB, free: 14.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.4054, allocations: 0.8652 MB / 470.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.4054, allocations: 4 kB / 470.4 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.4065, allocations: 0.5312 MB / 471 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.407, allocations: 44.53 kB / 471 MB, free: 13.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008966/0.4159, allocations: 5.096 MB / 476.1 MB, free: 7.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.4162, allocations: 282.6 kB / 476.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003887/0.4166, allocations: 88.52 kB / 476.5 MB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.417, allocations: 227.3 kB / 476.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.192e-06/0.417, allocations: 0 / 476.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05262/0.4696, allocations: 12.19 MB / 488.9 MB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/15.49, allocations: 0 / 488.9 MB, free: 11.34 MB / 398.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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: 18.30590356560424]