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.001756/0.001756, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.002439/0.002439, allocations: 216.4 kB / 23.73 MB, free: 4.531 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.766 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.001978/0.001978, allocations: 59.89 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2605, allocations: 53.41 MB / 431.2 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008635/0.2691, allocations: 5.945 MB / 437.1 MB, free: 476 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.2741, allocations: 2.312 MB / 439.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.2747, allocations: 28 kB / 439.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004445/0.2791, allocations: 1.745 MB / 441.2 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.2808, allocations: 0.5395 MB / 441.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.2836, allocations: 1.256 MB / 443 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.2852, allocations: 1.117 MB / 444.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.2865, allocations: 0.819 MB / 444.9 MB, free: 8.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000668/0.2872, allocations: 0.4904 MB / 445.4 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007116/0.2879, allocations: 0.5405 MB / 446 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001499/0.288, allocations: 100 kB / 446.1 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009786/0.289, allocations: 427.6 kB / 446.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002287/0.2893, allocations: 251 kB / 446.7 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004984/0.2898, allocations: 465.8 kB / 447.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.292, allocations: 1.677 MB / 448.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.292, allocations: 0 / 448.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.292, allocations: 3.938 kB / 448.8 MB, free: 4.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.292, allocations: 4 kB / 448.9 MB, free: 4.66 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.00653/0.2985, allocations: 1.971 MB / 450.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2986, allocations: 15.98 kB / 450.8 MB, free: 2.641 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00023/0.2988, allocations: 190.4 kB / 451 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003591/0.3024, allocations: 495.8 kB / 451.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/0.3028, allocations: 260.8 kB / 451.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.3029, allocations: 94.95 kB / 451.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002404/0.3031, allocations: 136.3 kB / 452 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002609/0.3057, allocations: 1.325 MB / 453.3 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.13e-05/0.3058, allocations: 3.984 kB / 453.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3059, allocations: 52 kB / 453.4 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.3059, allocations: 36 kB / 453.4 MB, free: 0 / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.3086, allocations: 1.177 MB / 454.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006987/0.3156, allocations: 3.489 MB / 458.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.318, allocations: 1.135 MB / 459.2 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009996/0.319, allocations: 456 kB / 459.6 MB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002187/0.3193, allocations: 36.97 kB / 459.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.742e-05/0.3193, allocations: 47.56 kB / 459.7 MB, free: 9.547 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 4.438e-06/0.3193, allocations: 4 kB / 459.7 MB, free: 9.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01101/0.3303, allocations: 3.545 MB / 463.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.3304, allocations: 94.09 kB / 463.4 MB, free: 5.848 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005979/0.331, allocations: 413.2 kB / 463.8 MB, free: 5.438 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/0.3311, allocations: 41.7 kB / 463.8 MB, free: 5.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.3315, allocations: 472.5 kB / 464.3 MB, free: 4.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004375/0.3319, allocations: 448.2 kB / 464.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004046/0.3323, allocations: 227.5 kB / 464.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.3326, allocations: 374.8 kB / 465.3 MB, free: 3.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001117/0.3337, allocations: 439.7 kB / 465.7 MB, free: 3.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.3351, allocations: 0.7208 MB / 466.5 MB, free: 2.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002503/0.3376, allocations: 1.171 MB / 467.6 MB, free: 1.352 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.3376, allocations: 3.938 kB / 467.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003307/0.3409, allocations: 1.463 MB / 469.1 MB, free: 15.87 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.3409, allocations: 8 kB / 469.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.3409, allocations: 8 kB / 469.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/0.3415, allocations: 197.6 kB / 469.3 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.3428, allocations: 287.6 kB / 469.6 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004686/0.3475, allocations: 4.117 MB / 473.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009481/0.3484, allocations: 83.95 kB / 473.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3485, allocations: 55.92 kB / 473.8 MB, free: 10.9 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.0005138/0.349, allocations: 265.5 kB / 474.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.3492, allocations: 67.58 kB / 474.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003228/0.3524, allocations: 1.331 MB / 475.5 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.3524, allocations: 15.94 kB / 475.5 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3524, allocations: 4 kB / 475.5 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.3525, allocations: 11.97 kB / 475.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.3574, allocations: 2.321 MB / 477.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3574, allocations: 0 / 477.8 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.3584, allocations: 207.7 kB / 478 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004595/0.3588, allocations: 169.7 kB / 478.2 MB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/0.3589, allocations: 35.98 kB / 478.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/0.3632, allocations: 3.942 MB / 482.2 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3632, allocations: 4.047 kB / 482.2 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.3673, allocations: 1.865 MB / 484.1 MB, free: 332 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003895/0.3677, allocations: 151.5 kB / 484.2 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.3678, allocations: 24 kB / 484.2 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/0.3685, allocations: 64 kB / 484.3 MB, free: 92 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.3687, allocations: 92.88 kB / 484.4 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.3688, allocations: 39.92 kB / 484.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003275/0.3691, allocations: 263.2 kB / 484.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3691, allocations: 0 / 484.7 MB, free: 15.7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001109/0.3702, allocations: 307.9 kB / 485 MB, free: 15.4 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.004571/0.3748, allocations: 2.486 MB / 487.5 MB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.3779, allocations: 1.391 MB / 488.9 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.3779, allocations: 0 / 488.9 MB, free: 11.46 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.3795, allocations: 0.8152 MB / 489.7 MB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.38, allocations: 72.59 kB / 489.7 MB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/0.3944, allocations: 7.555 MB / 497.3 MB, free: 2.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.395, allocations: 416.3 kB / 497.7 MB, free: 2.219 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000629/0.3956, allocations: 146.6 kB / 497.8 MB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005903/0.3962, allocations: 343.3 kB / 498.2 MB, free: 1.734 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3962, allocations: 4.188 kB / 498.2 MB, free: 1.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.859/2.255, allocations: 18.66 MB / 0.5047 GB, free: 15.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/17.78, allocations: 11.92 kB / 0.5047 GB, free: 15.27 MB / 430.1 MB " [Timeout remaining time 642] (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: 22.357562211807817]