Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.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.000957/0.000957, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001447/0.001447, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9007/0.9007, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.244e-05, allocations: 5.094 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003251/0.003273, allocations: 3.234 MB / 327.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004797, allocations: 0.9346 MB / 328.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002027/0.005, allocations: 8 kB / 328.7 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002353/0.005236, allocations: 95.05 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.00555, allocations: 174.6 kB / 329 MB, free: 11.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.005854, allocations: 179.5 kB / 329.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.006361, allocations: 0.657 MB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.00656, allocations: 134 kB / 329.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003275/0.006887, allocations: 363.2 kB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.007069, allocations: 199.3 kB / 330.5 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.292e-05/0.007122, allocations: 52 kB / 330.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.55e-05/0.007167, allocations: 52 kB / 330.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.316e-05/0.00723, allocations: 127.5 kB / 330.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.007344, allocations: 195.4 kB / 330.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004079/0.007752, allocations: 0.6424 MB / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007754, allocations: 0 / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007756, allocations: 0 / 331.5 MB, free: 8.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.007763, allocations: 4 kB / 331.5 MB, free: 8.84 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0008828/0.008646, allocations: 0.7855 MB / 332.3 MB, free: 8.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.008682, allocations: 11.98 kB / 332.3 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.919e-05/0.008751, allocations: 90.7 kB / 332.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.008815, allocations: 68.52 kB / 332.5 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.009153, allocations: 293.3 kB / 332.8 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.009181, allocations: 41.62 kB / 332.8 MB, free: 7.488 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.009229, allocations: 56.38 kB / 332.9 MB, free: 7.434 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005068/0.009736, allocations: 443 kB / 333.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.009748, allocations: 3.938 kB / 333.3 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.009775, allocations: 20 kB / 333.3 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.009784, allocations: 12 kB / 333.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005037/0.01029, allocations: 385 kB / 333.7 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.01178, allocations: 1.314 MB / 335 MB, free: 5.191 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.01221, allocations: 308.8 kB / 335.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.01245, allocations: 165.5 kB / 335.5 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.01247, allocations: 4.328 kB / 335.5 MB, free: 4.711 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.01249, allocations: 42.88 kB / 335.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.513e-06/0.01249, allocations: 0 / 335.5 MB, free: 4.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.002017/0.01451, allocations: 1.195 MB / 336.7 MB, free: 3.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.01454, allocations: 59.91 kB / 336.8 MB, free: 3.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/0.01485, allocations: 421.4 kB / 337.2 MB, free: 2.965 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.01487, allocations: 33.7 kB / 337.2 MB, free: 2.926 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.01501, allocations: 316.6 kB / 337.5 MB, free: 2.613 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.418e-05/0.0151, allocations: 198.3 kB / 337.7 MB, free: 2.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.0152, allocations: 106.3 kB / 337.8 MB, free: 2.309 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.0153, allocations: 358.8 kB / 338.2 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/0.01555, allocations: 185.2 kB / 338.4 MB, free: 1.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.01584, allocations: 295.1 kB / 338.7 MB, free: 1.434 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005507/0.01639, allocations: 0.4885 MB / 339.2 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.0164, allocations: 4 kB / 339.2 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008554/0.01725, allocations: 0.7406 MB / 339.9 MB, free: 144 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01727, allocations: 15.06 kB / 339.9 MB, free: 132 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01728, allocations: 3.938 kB / 339.9 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000357/0.01763, allocations: 181.6 kB / 340.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.01789, allocations: 111.8 kB / 340.2 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00271/0.0206, allocations: 4.023 MB / 344.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002117/0.02081, allocations: 31.97 kB / 344.3 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.02084, allocations: 20 kB / 344.3 MB, free: 11.54 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.02102, allocations: 189.6 kB / 344.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.02106, allocations: 51.73 kB / 344.5 MB, free: 11.29 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.02113, allocations: 65.06 kB / 344.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.02114, allocations: 4 kB / 344.6 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.02115, allocations: 11.94 kB / 344.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.02116, allocations: 0 / 344.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/0.02252, allocations: 1.203 MB / 345.8 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.02252, allocations: 3.984 kB / 345.8 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.02267, allocations: 72.03 kB / 345.9 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002601/0.02293, allocations: 161.5 kB / 346 MB, free: 9.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.02294, allocations: 8 kB / 346 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.02529, allocations: 3.849 MB / 349.9 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.02529, allocations: 7.969 kB / 349.9 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.02611, allocations: 0.6888 MB / 350.6 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.864e-05/0.02616, allocations: 51.66 kB / 350.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.769e-05/0.02619, allocations: 11.94 kB / 350.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.02633, allocations: 27.97 kB / 350.7 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.02641, allocations: 48.52 kB / 350.7 MB, free: 4.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.02643, allocations: 24.22 kB / 350.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.02663, allocations: 283.2 kB / 351 MB, free: 4.449 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02663, allocations: 0 / 351 MB, free: 4.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004707/0.0271, allocations: 151.9 kB / 351.2 MB, free: 4.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (35): * Single equations (assignments): 33 * 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.0009068/0.02801, allocations: 1.24 MB / 352.4 MB, free: 3.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009004/0.02891, allocations: 0.7661 MB / 353.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02891, allocations: 0 / 353.2 MB, free: 2.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.02934, allocations: 0.5044 MB / 353.7 MB, free: 1.691 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005744/0.02992, allocations: 53.62 kB / 353.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004452/0.03437, allocations: 4.674 MB / 358.4 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.03456, allocations: 263 kB / 358.7 MB, free: 12.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001172/0.03468, allocations: 48.34 kB / 358.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.03484, allocations: 176.4 kB / 358.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03484, allocations: 3.938 kB / 358.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.06157, allocations: 10.74 MB / 369.6 MB, free: 1.652 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.378, allocations: 7.844 kB / 369.6 MB, free: 1.645 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv --start-time 0 --stop-time 0.05 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_QuadraticCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable magFluxSensor.Phi in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.114711290225387]