Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.001759/0.001759, allocations: 114 kB / 20.44 MB, free: 1.469 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.00215/0.00215, allocations: 214 kB / 23.74 MB, free: 4.695 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.643/1.643, allocations: 230.5 MB / 257.4 MB, free: 8.023 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.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 63.91 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3514, allocations: 53.41 MB / 431.2 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.01134/0.3627, allocations: 6.762 MB / 438 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006278/0.369, allocations: 2.495 MB / 440.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.3703, allocations: 20 kB / 440.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005693/0.376, allocations: 1.89 MB / 442.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.3787, allocations: 0.5511 MB / 442.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003719/0.3824, allocations: 1.338 MB / 444.3 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002519/0.3849, allocations: 1.113 MB / 445.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002188/0.3871, allocations: 0.8364 MB / 446.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001118/0.3882, allocations: 498.2 kB / 446.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.3896, allocations: 0.6225 MB / 447.3 MB, free: 6.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004172/0.39, allocations: 100 kB / 447.4 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.3916, allocations: 451.6 kB / 447.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004188/0.392, allocations: 239.1 kB / 448.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.3932, allocations: 0.5675 MB / 448.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.3966, allocations: 1.666 MB / 450.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3966, allocations: 0 / 450.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3966, allocations: 0 / 450.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.807e-05/0.3967, allocations: 0 / 450.3 MB, free: 3.516 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: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.007871/0.4045, allocations: 1.986 MB / 452.3 MB, free: 1.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/0.4046, allocations: 12.03 kB / 452.3 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004263/0.405, allocations: 186.4 kB / 452.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003712/0.4087, allocations: 0.4919 MB / 453 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.4091, allocations: 256.8 kB / 453.3 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.4092, allocations: 98.95 kB / 453.4 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.4096, allocations: 132.3 kB / 453.5 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.4123, allocations: 1.299 MB / 454.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.4124, allocations: 4 kB / 454.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4125, allocations: 52 kB / 454.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.4125, allocations: 28 kB / 454.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/0.4153, allocations: 1.193 MB / 456.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008389/0.4236, allocations: 4.028 MB / 460.1 MB, free: 9.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.426, allocations: 1.137 MB / 461.2 MB, free: 8.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.427, allocations: 460 kB / 461.7 MB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001989/0.4272, allocations: 48.94 kB / 461.7 MB, free: 7.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.733e-05/0.4273, allocations: 51.55 kB / 461.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.208e-06/0.4273, allocations: 0 / 461.8 MB, free: 7.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0113/0.4386, allocations: 3.541 MB / 465.3 MB, free: 4.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.4387, allocations: 90.11 kB / 465.4 MB, free: 4.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.4392, allocations: 385.5 kB / 465.8 MB, free: 3.734 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.035e-05/0.4393, allocations: 49.7 kB / 465.8 MB, free: 3.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.4396, allocations: 472.6 kB / 466.3 MB, free: 3.211 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/0.44, allocations: 448.1 kB / 466.7 MB, free: 2.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.4404, allocations: 231.5 kB / 467 MB, free: 2.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.4406, allocations: 374.8 kB / 467.3 MB, free: 2.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4416, allocations: 439.8 kB / 467.7 MB, free: 1.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001254/0.4429, allocations: 0.6841 MB / 468.4 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002407/0.4453, allocations: 1.175 MB / 469.6 MB, free: 15.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/0.4453, allocations: 7.938 kB / 469.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003494/0.4488, allocations: 1.467 MB / 471.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4488, allocations: 8 kB / 471.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.4489, allocations: 11.98 kB / 471.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006526/0.4495, allocations: 197.5 kB / 471.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4508, allocations: 283.6 kB / 471.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005409/0.4562, allocations: 4.16 MB / 475.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.4573, allocations: 83.95 kB / 475.8 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.4575, allocations: 55.98 kB / 475.9 MB, free: 9.168 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006416/0.4581, allocations: 265.5 kB / 476.1 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001894/0.4583, allocations: 67.58 kB / 476.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.4616, allocations: 1.327 MB / 477.5 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.4616, allocations: 15.94 kB / 477.5 MB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.4617, allocations: 4 kB / 477.5 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.4617, allocations: 7.969 kB / 477.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005643/0.4673, allocations: 2.574 MB / 480.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.4673, allocations: 0 / 480.1 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.4683, allocations: 207.7 kB / 480.3 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005164/0.4689, allocations: 173.6 kB / 480.5 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.4689, allocations: 27.98 kB / 480.5 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.4737, allocations: 3.981 MB / 484.5 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4737, allocations: 0 / 484.5 MB, free: 188 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004466/0.4782, allocations: 1.872 MB / 486.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004778/0.4787, allocations: 147.6 kB / 486.5 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001497/0.4788, allocations: 27.88 kB / 486.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/0.4796, allocations: 64 kB / 486.6 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002423/0.4798, allocations: 96.81 kB / 486.7 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/0.4799, allocations: 35.98 kB / 486.7 MB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004331/0.4803, allocations: 267.2 kB / 487 MB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4803, allocations: 0 / 487 MB, free: 13.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001354/0.4817, allocations: 304 kB / 487.3 MB, free: 13.36 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (106): * Single equations (assignments): 104 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004731/0.4864, allocations: 2.486 MB / 489.8 MB, free: 10.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00339/0.4898, allocations: 1.387 MB / 491.2 MB, free: 9.414 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/0.4898, allocations: 4 kB / 491.2 MB, free: 9.41 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.4916, allocations: 0.8193 MB / 492 MB, free: 8.566 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.4924, allocations: 72.53 kB / 492.1 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01552/0.5079, allocations: 7.558 MB / 499.6 MB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008115/0.5087, allocations: 1.005 MB / 0.4889 GB, free: 15.58 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005878/0.5093, allocations: 142.6 kB / 0.489 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005576/0.5099, allocations: 359.2 kB / 0.4894 GB, free: 15.09 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5099, allocations: 0 / 0.4894 GB, free: 15.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0691/0.579, allocations: 18.55 MB / 0.5075 GB, free: 12.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.25/24.83, allocations: 4.062 kB / 0.5075 GB, free: 12.68 MB / 430.1 MB " [Timeout remaining time 635] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap_fmu --startTime=0 --stopTime=0.05 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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: 27.551336392061785]