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.001545/0.001545, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002065/0.002065, allocations: 216.9 kB / 24.53 MB, free: 4.012 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.497/1.497, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.002108/0.002108, allocations: 63.89 kB / 378.6 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3322, allocations: 53.41 MB / 432 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.008495/0.3407, allocations: 6.765 MB / 438.8 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004535/0.3452, allocations: 2.487 MB / 441.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006849/0.3459, allocations: 23.94 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.3502, allocations: 1.886 MB / 443.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.3521, allocations: 0.555 MB / 443.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002764/0.3549, allocations: 1.349 MB / 445.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001657/0.3566, allocations: 1.113 MB / 446.2 MB, free: 8.438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.3578, allocations: 0.8302 MB / 447 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006322/0.3584, allocations: 0.4904 MB / 447.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007431/0.3592, allocations: 0.6147 MB / 448.1 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.3593, allocations: 104 kB / 448.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.3604, allocations: 447.6 kB / 448.6 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.3606, allocations: 247.1 kB / 448.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005187/0.3611, allocations: 0.5636 MB / 449.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.3632, allocations: 1.677 MB / 451.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3632, allocations: 0 / 451.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3632, allocations: 0 / 451.1 MB, free: 3.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.3632, allocations: 0 / 451.1 MB, free: 3.445 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.006315/0.3695, allocations: 1.976 MB / 453.1 MB, free: 1.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3696, allocations: 8.031 kB / 453.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.006e-05/0.3696, allocations: 34.77 kB / 453.1 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002129/0.3698, allocations: 190.4 kB / 453.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003355/0.3732, allocations: 495.7 kB / 453.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.3735, allocations: 256.8 kB / 454.1 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.578e-05/0.3736, allocations: 98.95 kB / 454.2 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.3738, allocations: 128.3 kB / 454.3 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/0.3762, allocations: 1.311 MB / 455.6 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.442e-05/0.3763, allocations: 4 kB / 455.6 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/0.3764, allocations: 48 kB / 455.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.7e-05/0.3764, allocations: 32 kB / 455.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002522/0.3789, allocations: 1.193 MB / 456.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00681/0.3858, allocations: 4.024 MB / 460.9 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.3879, allocations: 1.141 MB / 462 MB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000941/0.3888, allocations: 460 kB / 462.5 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001425/0.389, allocations: 44.94 kB / 462.5 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.389, allocations: 47.56 kB / 462.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of pre-optimization done (n=122): time 3.246e-06/0.389, allocations: 0 / 462.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=125): time 0.0106/0.3996, allocations: 3.545 MB / 466.1 MB, free: 4.129 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3997, allocations: 90.11 kB / 466.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004785/0.4002, allocations: 393.5 kB / 466.6 MB, free: 3.633 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.4002, allocations: 45.7 kB / 466.6 MB, free: 3.582 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.4006, allocations: 472.6 kB / 467.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003541/0.4009, allocations: 448.1 kB / 467.5 MB, free: 2.672 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.4013, allocations: 235.5 kB / 467.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.4015, allocations: 366.8 kB / 468.1 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.4025, allocations: 435.8 kB / 468.6 MB, free: 1.641 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.4038, allocations: 0.6957 MB / 469.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002408/0.4062, allocations: 1.175 MB / 470.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4062, allocations: 0 / 470.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.0031/0.4093, allocations: 1.47 MB / 471.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.4093, allocations: 8 kB / 471.9 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4094, allocations: 8 kB / 471.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005417/0.4099, allocations: 193.6 kB / 472.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.4111, allocations: 291.6 kB / 472.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004547/0.4156, allocations: 4.168 MB / 476.6 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000885/0.4165, allocations: 75.95 kB / 476.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.4166, allocations: 59.98 kB / 476.7 MB, free: 9.066 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.0004563/0.4171, allocations: 257.5 kB / 476.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4172, allocations: 71.52 kB / 477 MB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003054/0.4203, allocations: 1.323 MB / 478.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4203, allocations: 15.94 kB / 478.3 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.4203, allocations: 4 kB / 478.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.4203, allocations: 11.95 kB / 478.4 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004745/0.4251, allocations: 2.574 MB / 480.9 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4251, allocations: 0 / 480.9 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.426, allocations: 207.7 kB / 481.1 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.4265, allocations: 177.6 kB / 481.3 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.4265, allocations: 31.98 kB / 481.3 MB, free: 4.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004109/0.4306, allocations: 3.974 MB / 485.3 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4306, allocations: 0 / 485.3 MB, free: 88 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.4347, allocations: 1.865 MB / 487.2 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004441/0.4352, allocations: 151.6 kB / 487.3 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4353, allocations: 31.88 kB / 487.4 MB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000659/0.436, allocations: 60.02 kB / 487.4 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002353/0.4362, allocations: 92.81 kB / 487.5 MB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.803e-05/0.4363, allocations: 39.97 kB / 487.5 MB, free: 13.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003697/0.4366, allocations: 275.1 kB / 487.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4366, allocations: 288 / 487.8 MB, free: 13.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001276/0.4379, allocations: 307.9 kB / 488.1 MB, free: 13.25 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.004602/0.4425, allocations: 2.486 MB / 490.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003241/0.4458, allocations: 1.387 MB / 492 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4458, allocations: 0 / 492 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001657/0.4474, allocations: 0.8193 MB / 492.8 MB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.4481, allocations: 72.53 kB / 492.9 MB, free: 8.395 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01404/0.4621, allocations: 7.561 MB / 0.4887 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.4628, allocations: 1.005 MB / 0.4897 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005703/0.4634, allocations: 142.6 kB / 0.4898 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005509/0.464, allocations: 355.2 kB / 0.4902 GB, free: 14.99 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.464, allocations: 0 / 0.4902 GB, free: 14.99 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/0.5189, allocations: 18.57 MB / 0.5083 GB, free: 12.57 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.05/24.57, allocations: 3.859 kB / 0.5083 GB, free: 12.57 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.228893141960725]