Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.001946/0.001946, allocations: 115 kB / 20.48 MB, free: 1.129 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.002627/0.002627, allocations: 213.6 kB / 23.77 MB, free: 4.195 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.5 MB / 257.4 MB, free: 7.758 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2673/0.2673, allocations: 46.95 MB / 360.9 MB, free: 3.898 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.Analog.TestSaturatingInductor,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003589/0.003589, allocations: 83.84 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3797, allocations: 66.08 MB / 0.5607 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.003483/0.3832, allocations: 1.855 MB / 0.5625 GB, free: 2.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3843, allocations: 0.5504 MB / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.934e-05/0.3844, allocations: 0 / 0.5631 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.65e-05/0.3844, allocations: 23.8 kB / 0.5631 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.3847, allocations: 39.69 kB / 0.5631 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.385, allocations: 83.2 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.3852, allocations: 151.4 kB / 0.5634 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3853, allocations: 31.11 kB / 0.5634 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002336/0.3855, allocations: 83.64 kB / 0.5635 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.3856, allocations: 51.75 kB / 0.5635 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.3857, allocations: 16 kB / 0.5635 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.589e-05/0.3857, allocations: 12 kB / 0.5636 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.008e-05/0.3858, allocations: 31.91 kB / 0.5636 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.3858, allocations: 59.72 kB / 0.5636 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3861, allocations: 143.4 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3861, allocations: 0 / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3861, allocations: 0 / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.3861, allocations: 4 kB / 0.5638 GB, free: 0.8789 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000815/0.3869, allocations: 373.8 kB / 0.5641 GB, free: 496 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.3869, allocations: 8.031 kB / 0.5641 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.811e-05/0.387, allocations: 46.72 kB / 0.5642 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.3873, allocations: 44.81 kB / 0.5642 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.3875, allocations: 130.4 kB / 0.5644 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.3875, allocations: 8.375 kB / 0.5644 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.3875, allocations: 4.375 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.3879, allocations: 187.7 kB / 0.5646 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3879, allocations: 4 kB / 0.5646 GB, free: 0 / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.519e-05/0.3879, allocations: 4.078 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3879, allocations: 4 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003291/0.3883, allocations: 99.77 kB / 0.5647 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008462/0.3891, allocations: 394.6 kB / 0.565 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.3894, allocations: 90.47 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/0.3896, allocations: 40.92 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3896, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.3897, allocations: 38.56 kB / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.3897, allocations: 0 / 0.5652 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.001407/0.3911, allocations: 317.1 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.361e-05/0.3912, allocations: 106.8 kB / 0.5656 GB, free: 14.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.3913, allocations: 156.3 kB / 0.5657 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.3913, allocations: 25.7 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.836e-05/0.3914, allocations: 112.2 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3915, allocations: 23.8 kB / 0.5659 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.298e-05/0.3915, allocations: 29.7 kB / 0.5659 GB, free: 14.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.3917, allocations: 322.8 kB / 0.5662 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3919, allocations: 55.95 kB / 0.5663 GB, free: 14.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.3922, allocations: 155.5 kB / 0.5664 GB, free: 13.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.3927, allocations: 134.5 kB / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.3927, allocations: 0 / 0.5666 GB, free: 13.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005233/0.3932, allocations: 181.5 kB / 0.5667 GB, free: 13.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3932, allocations: 11.94 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3932, allocations: 3.938 kB / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3932, allocations: 0 / 0.5668 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005902/0.3938, allocations: 83.91 kB / 0.5668 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.3954, allocations: 1.389 MB / 0.5682 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.3956, allocations: 32.06 kB / 0.5682 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.3956, allocations: 8.016 kB / 0.5682 GB, free: 11.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.3957, allocations: 122 kB / 0.5683 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.3957, allocations: 11.95 kB / 0.5684 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005146/0.3963, allocations: 170.3 kB / 0.5685 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3963, allocations: 4 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.81e-07/0.3963, allocations: 0 / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3963, allocations: 0 / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009088/0.3972, allocations: 417.4 kB / 0.5689 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3972, allocations: 4 kB / 0.5689 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.3973, allocations: 27.97 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3973, allocations: 0 / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3973, allocations: 4 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.3973, allocations: 3.938 kB / 0.569 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3974, allocations: 4 kB / 0.569 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005341/0.3979, allocations: 251.4 kB / 0.5692 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.74e-05/0.3979, allocations: 3.953 kB / 0.5692 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3979, allocations: 4 kB / 0.5692 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.3981, allocations: 23.91 kB / 0.5692 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.498e-05/0.3982, allocations: 15.98 kB / 0.5693 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.3982, allocations: 0 / 0.5693 GB, free: 10.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 9.028e-05/0.3983, allocations: 107.3 kB / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3983, allocations: 3.938 kB / 0.5694 GB, free: 10.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.3986, allocations: 32 kB / 0.5694 GB, free: 10.66 MB / 414.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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008415/0.3994, allocations: 0.7866 MB / 0.5702 GB, free: 9.848 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008926/0.4003, allocations: 168.1 kB / 0.5703 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.4003, allocations: 0 / 0.5703 GB, free: 9.684 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.4005, allocations: 67.83 kB / 0.5704 GB, free: 9.617 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003798/0.4009, allocations: 20.7 kB / 0.5704 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.4045, allocations: 1.984 MB / 0.5723 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.792e-05/0.4046, allocations: 84.81 kB / 0.5724 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.634e-05/0.4047, allocations: 24.39 kB / 0.5724 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.494e-05/0.4048, allocations: 35.42 kB / 0.5725 GB, free: 7.363 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4048, allocations: 0 / 0.5725 GB, free: 7.363 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03859/0.4434, allocations: 3.909 MB / 0.5763 GB, free: 3.559 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.86, allocations: 11.36 kB / 0.5763 GB, free: 3.551 MB / 414.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Electrical_Analog_TestSaturatingInductor.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable saturatingInductor.Psi in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.Psi from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! Error: Could not read variable saturatingInductor.i in file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv. Warning: Get data of variable saturatingInductor.i from file ModelicaTest_trunk_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.916562316000636]