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.0018/0.0018, allocations: 109.1 kB / 21.22 MB, free: 0.6445 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.001432/0.001432, allocations: 209.3 kB / 24.51 MB, free: 3.941 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.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 7.812 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2872, allocations: 53.4 MB / 431.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008413/0.2956, allocations: 5.938 MB / 437.9 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004655/0.3003, allocations: 2.322 MB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004096/0.3007, allocations: 24 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003896/0.3046, allocations: 1.738 MB / 441.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001444/0.306, allocations: 0.5355 MB / 442.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.3086, allocations: 1.264 MB / 443.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3102, allocations: 1.113 MB / 444.9 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.3115, allocations: 0.8408 MB / 445.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000701/0.3122, allocations: 494.2 kB / 446.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007935/0.313, allocations: 0.6264 MB / 446.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3132, allocations: 100 kB / 446.9 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009027/0.3141, allocations: 443.6 kB / 447.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002086/0.3143, allocations: 247.1 kB / 447.6 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004546/0.3147, allocations: 457.8 kB / 448 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001857/0.3166, allocations: 1.677 MB / 449.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3166, allocations: 0 / 449.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3166, allocations: 0 / 449.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.3166, allocations: 0 / 449.7 MB, free: 4.613 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.006212/0.3228, allocations: 1.983 MB / 451.7 MB, free: 2.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3229, allocations: 8.031 kB / 451.7 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.017e-05/0.3229, allocations: 34.77 kB / 451.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.3231, allocations: 194.4 kB / 451.9 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.3266, allocations: 491.8 kB / 452.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002945/0.3269, allocations: 256.8 kB / 452.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.572e-05/0.327, allocations: 98.95 kB / 452.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.3272, allocations: 132.3 kB / 452.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.3297, allocations: 1.324 MB / 454.2 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/0.3297, allocations: 4 kB / 454.2 MB, free: 0 / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.3299, allocations: 48.08 kB / 454.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.3299, allocations: 35.94 kB / 454.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002521/0.3324, allocations: 1.193 MB / 455.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.339, allocations: 3.488 MB / 459 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002028/0.3411, allocations: 1.135 MB / 460.1 MB, free: 9.984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008906/0.342, allocations: 456 kB / 460.5 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001379/0.3421, allocations: 36.97 kB / 460.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3421, allocations: 51.5 kB / 460.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.767e-06/0.3421, allocations: 0 / 460.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.01028/0.3524, allocations: 3.541 MB / 464.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.401e-05/0.3525, allocations: 94.11 kB / 464.3 MB, free: 5.754 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006004/0.3531, allocations: 393.5 kB / 464.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/0.3532, allocations: 53.64 kB / 464.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003548/0.3535, allocations: 468.6 kB / 465.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004091/0.354, allocations: 448.1 kB / 465.6 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.3543, allocations: 231.5 kB / 465.8 MB, free: 4.164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.3545, allocations: 374.8 kB / 466.2 MB, free: 3.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.3556, allocations: 439.7 kB / 466.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001382/0.3569, allocations: 0.713 MB / 467.3 MB, free: 2.539 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002487/0.3594, allocations: 1.186 MB / 468.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3594, allocations: 0 / 468.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003286/0.3627, allocations: 1.455 MB / 470 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.3628, allocations: 11.94 kB / 470 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.3628, allocations: 8 kB / 470 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000582/0.3633, allocations: 193.6 kB / 470.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.3646, allocations: 287.6 kB / 470.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004828/0.3694, allocations: 4.118 MB / 474.6 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009419/0.3703, allocations: 75.89 kB / 474.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.3704, allocations: 55.98 kB / 474.7 MB, free: 10.82 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.0005265/0.3709, allocations: 269.5 kB / 475 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.3711, allocations: 71.52 kB / 475 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003164/0.3743, allocations: 1.323 MB / 476.4 MB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.3743, allocations: 15.94 kB / 476.4 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.3743, allocations: 12.19 kB / 476.4 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.3743, allocations: 3.984 kB / 476.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.379, allocations: 2.329 MB / 478.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.379, allocations: 0 / 478.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009683/0.38, allocations: 211.7 kB / 478.9 MB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004586/0.3805, allocations: 161.7 kB / 479.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.3805, allocations: 31.98 kB / 479.1 MB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/0.3849, allocations: 3.938 MB / 483.1 MB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3849, allocations: 8.062 kB / 483.1 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003976/0.3889, allocations: 1.869 MB / 484.9 MB, free: 248 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.3892, allocations: 151.5 kB / 485.1 MB, free: 96 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.3893, allocations: 27.94 kB / 485.1 MB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006579/0.39, allocations: 55.95 kB / 485.2 MB, free: 12 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.3902, allocations: 92.81 kB / 485.3 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.739e-05/0.3903, allocations: 44.05 kB / 485.3 MB, free: 15.88 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.3906, allocations: 267.2 kB / 485.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3906, allocations: 0 / 485.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001157/0.3918, allocations: 311.9 kB / 485.9 MB, free: 15.31 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.004749/0.3965, allocations: 2.486 MB / 488.4 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003374/0.3999, allocations: 1.387 MB / 489.7 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3999, allocations: 0 / 489.7 MB, free: 11.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001628/0.4015, allocations: 0.8114 MB / 490.6 MB, free: 10.53 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005284/0.4021, allocations: 79.31 kB / 490.6 MB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01442/0.4165, allocations: 7.558 MB / 498.2 MB, free: 2.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005501/0.417, allocations: 416.3 kB / 498.6 MB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.4177, allocations: 138.6 kB / 498.7 MB, free: 1.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005992/0.4183, allocations: 355.3 kB / 499.1 MB, free: 1.645 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4183, allocations: 0 / 499.1 MB, free: 1.645 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7987/1.217, allocations: 18.72 MB / 0.5057 GB, free: 15.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.47/25.69, allocations: 3.938 kB / 0.5057 GB, free: 15.14 MB / 430.1 MB " [Timeout remaining time 634] (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: 28.333301736973226]