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.001723/0.001723, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002057/0.002057, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.543/1.543, allocations: 230.4 MB / 254 MB, free: 15.01 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.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 0.002189/0.002189, allocations: 60.09 kB / 373 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1097, allocations: 53.38 MB / 426.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.00469/0.1144, allocations: 2.837 MB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.1159, allocations: 0.7866 MB / 430 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.1161, allocations: 7.938 kB / 430 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.1163, allocations: 67.42 kB / 430.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.1166, allocations: 103.2 kB / 430.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.1169, allocations: 103.8 kB / 430.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.1173, allocations: 390.5 kB / 430.6 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1175, allocations: 90.94 kB / 430.7 MB, free: 232 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003164/0.1178, allocations: 171.3 kB / 430.9 MB, free: 60 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2296/0.3474, allocations: 167.9 kB / 431.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3475, allocations: 31.38 kB / 431.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.3476, allocations: 33.62 kB / 431.1 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.592e-05/0.3477, allocations: 74.28 kB / 431.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.3479, allocations: 178 kB / 431.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005309/0.3484, allocations: 399.6 kB / 431.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.3484, allocations: 1.156 kB / 431.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3484, allocations: 0 / 431.8 MB, free: 7.816 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.3485, allocations: 0 / 431.8 MB, free: 7.816 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001168/0.3496, allocations: 0.645 MB / 432.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3497, allocations: 12.34 kB / 432.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.274e-05/0.3497, allocations: 68.66 kB / 432.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.644e-05/0.3498, allocations: 37.92 kB / 432.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3501, allocations: 279.5 kB / 432.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/0.3502, allocations: 24.5 kB / 432.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3502, allocations: 35.8 kB / 432.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005894/0.3508, allocations: 288.2 kB / 433.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3508, allocations: 2.438 kB / 433.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.3509, allocations: 12.19 kB / 433.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.3509, allocations: 8.281 kB / 433.2 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.3515, allocations: 254.8 kB / 433.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001595/0.3531, allocations: 1.103 MB / 434.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.3534, allocations: 148 kB / 434.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.3536, allocations: 67.06 kB / 434.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.3537, allocations: 2.531 kB / 434.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.3537, allocations: 40.47 kB / 434.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.3537, allocations: 0 / 434.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002228/0.3559, allocations: 0.5902 MB / 435.3 MB, free: 6.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.356, allocations: 55.45 kB / 435.4 MB, free: 6.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.3562, allocations: 278.8 kB / 435.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3563, allocations: 29.64 kB / 435.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.3564, allocations: 237.3 kB / 435.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.3564, allocations: 80.28 kB / 436 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3565, allocations: 67.62 kB / 436.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.898e-05/0.3566, allocations: 335.3 kB / 436.4 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.3569, allocations: 95.91 kB / 436.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.3573, allocations: 196.7 kB / 436.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006123/0.3579, allocations: 300.1 kB / 437 MB, free: 5.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3579, allocations: 1.094 kB / 437 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008975/0.3588, allocations: 390.9 kB / 437.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.3588, allocations: 7.375 kB / 437.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.3588, allocations: 2.969 kB / 437.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/0.3591, allocations: 58.08 kB / 437.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.3594, allocations: 75.27 kB / 437.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.361, allocations: 2.844 MB / 440.4 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/0.3613, allocations: 25.84 kB / 440.4 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.3613, allocations: 14.14 kB / 440.4 MB, free: 2.438 MB / 350.1 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.0001499/0.3615, allocations: 158 kB / 440.5 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.3615, allocations: 29.31 kB / 440.6 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.3616, allocations: 31.28 kB / 440.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3616, allocations: 3.156 kB / 440.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.3616, allocations: 1.188 kB / 440.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.361e-06/0.3616, allocations: 1.875 kB / 440.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.3621, allocations: 333 kB / 440.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3621, allocations: 1.609 kB / 440.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3623, allocations: 38.62 kB / 441 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001596/0.3624, allocations: 56.03 kB / 441 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.3625, allocations: 5.484 kB / 441 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.3642, allocations: 2.831 MB / 443.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.3642, allocations: 1.969 kB / 443.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008233/0.365, allocations: 379.2 kB / 444.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.075e-05/0.3651, allocations: 101.9 kB / 444.3 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.3652, allocations: 6.781 kB / 444.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.3654, allocations: 16.95 kB / 444.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.3655, allocations: 17.3 kB / 444.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3655, allocations: 12.14 kB / 444.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002243/0.3657, allocations: 187.4 kB / 444.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3657, allocations: 3.938 kB / 444.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004449/0.3661, allocations: 71.47 kB / 444.6 MB, free: 14.66 MB / 366.1 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.001159/0.3673, allocations: 0.909 MB / 445.6 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.3684, allocations: 475.6 kB / 446 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3684, allocations: 1.406 kB / 446 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005878/0.369, allocations: 350.2 kB / 446.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.3694, allocations: 32.25 kB / 446.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005172/0.3745, allocations: 2.959 MB / 449.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005793/0.3751, allocations: 0.7712 MB / 450.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.3753, allocations: 28.81 kB / 450.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.3754, allocations: 101.5 kB / 450.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3754, allocations: 0 / 450.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.4128, allocations: 5.662 MB / 455.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/10.64, allocations: 5.312 kB / 455.9 MB, free: 9.797 MB / 366.1 MB " [Timeout remaining time 649] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/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: 13.266643757000566]