Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.0009213/0.0009213, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.0007833/0.0007833, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8905/0.8905, allocations: 177 MB / 204.1 MB, free: 5.762 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.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_BasicExamples_ToroidalCoreAirgap",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.367e-06/1.106e-05, allocations: 2.281 kB / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002853/0.002864, allocations: 2.651 MB / 327.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008944/0.003759, allocations: 0.7515 MB / 327.9 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.003874, allocations: 8 kB / 327.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001827/0.004057, allocations: 75.3 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.00425, allocations: 95.17 kB / 328.1 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001814/0.004431, allocations: 115.8 kB / 328.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002494/0.004681, allocations: 402.3 kB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.004834, allocations: 87.08 kB / 328.7 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.0051, allocations: 243.5 kB / 328.9 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.005219, allocations: 119.6 kB / 329 MB, free: 11.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.005252, allocations: 32 kB / 329.1 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.956e-05/0.005282, allocations: 32 kB / 329.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.005325, allocations: 79.67 kB / 329.2 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.991e-05/0.005405, allocations: 123.7 kB / 329.3 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002693/0.005674, allocations: 402.7 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.005677, allocations: 3.984 kB / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005678, allocations: 0 / 329.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005682, allocations: 0 / 329.7 MB, free: 10.7 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006852/0.006367, allocations: 0.5675 MB / 330.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.006405, allocations: 11.98 kB / 330.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.006456, allocations: 70.72 kB / 330.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.111e-05/0.006507, allocations: 40.7 kB / 330.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.006762, allocations: 214.1 kB / 330.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.006784, allocations: 21.03 kB / 330.6 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.006819, allocations: 32.38 kB / 330.6 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003688/0.007187, allocations: 290.5 kB / 330.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.007198, allocations: 192 / 330.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.007224, allocations: 20.12 kB / 330.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.007233, allocations: 8 kB / 331 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000355/0.007588, allocations: 246.5 kB / 331.2 MB, free: 9.125 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.008652, allocations: 0.9254 MB / 332.1 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.008886, allocations: 142.5 kB / 332.3 MB, free: 7.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.008987, allocations: 64.77 kB / 332.3 MB, free: 7.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.009009, allocations: 4 kB / 332.3 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.009032, allocations: 50.47 kB / 332.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.009033, allocations: 0 / 332.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.001388/0.01042, allocations: 0.5907 MB / 333 MB, free: 7.242 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.01045, allocations: 51.41 kB / 333 MB, free: 7.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.01064, allocations: 281.7 kB / 333.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.01066, allocations: 33.7 kB / 333.3 MB, free: 6.859 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01077, allocations: 228.1 kB / 333.5 MB, free: 6.629 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.01081, allocations: 83.27 kB / 333.6 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.619e-05/0.01087, allocations: 65.66 kB / 333.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.01095, allocations: 334.8 kB / 334 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.01111, allocations: 95.94 kB / 334.1 MB, free: 6.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.01131, allocations: 200.2 kB / 334.3 MB, free: 5.805 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.01166, allocations: 297.2 kB / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.01166, allocations: 0 / 334.6 MB, free: 5.473 MB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004789/0.01214, allocations: 401 kB / 335 MB, free: 5.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.01215, allocations: 8 kB / 335 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01216, allocations: 4 kB / 335 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.01233, allocations: 58.09 kB / 335.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01249, allocations: 67.89 kB / 335.1 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.01376, allocations: 2.622 MB / 337.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01388, allocations: 19.97 kB / 337.8 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.0139, allocations: 16 kB / 337.8 MB, free: 2.043 MB / 298.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 (37): * Single equations (assignments): 35 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.014, allocations: 149.7 kB / 337.9 MB, free: 1.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.01403, allocations: 27.81 kB / 338 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.01407, allocations: 34.33 kB / 338 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01407, allocations: 4 kB / 338 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.01408, allocations: 4 kB / 338 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.01408, allocations: 0 / 338 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.0143, allocations: 280.5 kB / 338.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.0143, allocations: 0 / 338.3 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.532e-05/0.01439, allocations: 47.89 kB / 338.3 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-05/0.01449, allocations: 53.69 kB / 338.4 MB, free: 1.398 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.0145, allocations: 4 kB / 338.4 MB, free: 1.395 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/0.016, allocations: 2.611 MB / 341 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.016, allocations: 0 / 341 MB, free: 14.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.01639, allocations: 383.9 kB / 341.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.222e-05/0.01642, allocations: 23.81 kB / 341.4 MB, free: 14.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.01643, allocations: 7.938 kB / 341.4 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01653, allocations: 19.97 kB / 341.4 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.01658, allocations: 15.97 kB / 341.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.01659, allocations: 8 kB / 341.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.0167, allocations: 189.2 kB / 341.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0167, allocations: 0 / 341.6 MB, free: 13.9 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002378/0.01694, allocations: 72 kB / 341.7 MB, free: 13.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005571/0.0175, allocations: 0.909 MB / 342.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005401/0.01804, allocations: 473.7 kB / 343.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01804, allocations: 8.062 kB / 343.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.01829, allocations: 334.3 kB / 343.4 MB, free: 12.04 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.01853, allocations: 44.41 kB / 343.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.02108, allocations: 2.954 MB / 346.4 MB, free: 8.867 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.02118, allocations: 164.8 kB / 346.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.082e-05/0.02126, allocations: 30.27 kB / 346.6 MB, free: 8.656 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/0.0217, allocations: 100.5 kB / 346.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0217, allocations: 0 / 346.7 MB, free: 8.559 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.04293, allocations: 6.39 MB / 353.1 MB, free: 2.289 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.201, allocations: 11.86 kB / 353.1 MB, free: 2.277 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_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_ToroidalCoreAirgap.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap_res.csv. Warning: Get data of variable magFluxSensor.Phi from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! Error: Could not read variable voltageSensor.v in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv. Warning: Get data of variable voltageSensor.v from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.933634084649384]