Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.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.001793/0.001793, allocations: 112.4 kB / 20.48 MB, free: 1.27 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.002275/0.002275, allocations: 216.2 kB / 23.77 MB, free: 4.445 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.526/1.526, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.2392/0.2392, allocations: 46.95 MB / 360.8 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.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 95.84 kB / 0.4962 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3675, allocations: 66.07 MB / 0.5607 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004105/0.3716, allocations: 2.423 MB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3732, allocations: 0.6427 MB / 0.5637 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.3733, allocations: 4 kB / 0.5637 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.3735, allocations: 43.58 kB / 0.5638 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.3737, allocations: 75.33 kB / 0.5638 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003475/0.374, allocations: 75.84 kB / 0.5639 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000411/0.3744, allocations: 298.7 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.3746, allocations: 62.41 kB / 0.5642 GB, free: 372 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.3749, allocations: 123.5 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3751, allocations: 99.48 kB / 0.5645 GB, free: 148 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.3751, allocations: 24 kB / 0.5645 GB, free: 124 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.3752, allocations: 31.98 kB / 0.5645 GB, free: 92 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.3753, allocations: 51.78 kB / 0.5646 GB, free: 40 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.3754, allocations: 107.5 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.3758, allocations: 294.8 kB / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3758, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3758, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.3758, allocations: 0 / 0.5649 GB, free: 15.64 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0008808/0.3767, allocations: 477.5 kB / 0.5654 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.3767, allocations: 12.03 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.562e-05/0.3768, allocations: 54.73 kB / 0.5655 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.377, allocations: 36.78 kB / 0.5655 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.3774, allocations: 202 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.87e-05/0.3774, allocations: 16.81 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.506e-05/0.3774, allocations: 20.38 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.3778, allocations: 268.5 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3778, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.3779, allocations: 12 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3779, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000286/0.3782, allocations: 145.7 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.3795, allocations: 0.7211 MB / 0.5668 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.3797, allocations: 90.48 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.3798, allocations: 40.84 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.851e-05/0.3798, allocations: 4 kB / 0.567 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/0.3798, allocations: 38.73 kB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.382e-06/0.3798, allocations: 0 / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00191/0.3818, allocations: 0.6464 MB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.3818, allocations: 55.34 kB / 0.5677 GB, free: 12.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002318/0.382, allocations: 214.9 kB / 0.5679 GB, free: 12.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.3821, allocations: 33.7 kB / 0.5679 GB, free: 12.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.3822, allocations: 176.1 kB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.613e-05/0.3822, allocations: 63.47 kB / 0.5682 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.129e-05/0.3823, allocations: 41.7 kB / 0.5682 GB, free: 12.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3825, allocations: 334.8 kB / 0.5685 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.3827, allocations: 63.97 kB / 0.5686 GB, free: 11.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3828, allocations: 105.1 kB / 0.5687 GB, free: 11.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003172/0.3832, allocations: 175.8 kB / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.3832, allocations: 0 / 0.5688 GB, free: 11.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005414/0.3837, allocations: 283 kB / 0.5691 GB, free: 11.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.3837, allocations: 14.02 kB / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3837, allocations: 0 / 0.5691 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002539/0.384, allocations: 65.62 kB / 0.5692 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.3842, allocations: 35.97 kB / 0.5692 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/0.3869, allocations: 2.794 MB / 0.572 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.387, allocations: 12.03 kB / 0.572 GB, free: 7.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.3871, allocations: 8 kB / 0.572 GB, free: 7.895 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.3872, allocations: 138.4 kB / 0.5721 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.065e-05/0.3873, allocations: 15.91 kB / 0.5721 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.3873, allocations: 29.86 kB / 0.5722 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3873, allocations: 4 kB / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3873, allocations: 0 / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.3873, allocations: 0 / 0.5722 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000306/0.3876, allocations: 236.6 kB / 0.5724 GB, free: 7.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3876, allocations: 7.922 kB / 0.5724 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.209e-05/0.3877, allocations: 12 kB / 0.5724 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.3879, allocations: 69.66 kB / 0.5725 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.3879, allocations: 8 kB / 0.5725 GB, free: 7.328 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.3904, allocations: 2.791 MB / 0.5752 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3904, allocations: 0 / 0.5752 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.3911, allocations: 389 kB / 0.5756 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.491e-05/0.3912, allocations: 27.8 kB / 0.5756 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.3912, allocations: 0 / 0.5756 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.3914, allocations: 19.98 kB / 0.5756 GB, free: 3.859 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.3915, allocations: 15.97 kB / 0.5756 GB, free: 3.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.3915, allocations: 4 kB / 0.5756 GB, free: 3.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001709/0.3916, allocations: 156.6 kB / 0.5758 GB, free: 3.688 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3916, allocations: 8 kB / 0.5758 GB, free: 3.68 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.3921, allocations: 60 kB / 0.5759 GB, free: 3.621 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * 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: 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,5,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.00103/0.3931, allocations: 0.9234 MB / 0.5768 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007502/0.3938, allocations: 393.2 kB / 0.5771 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3939, allocations: 0 / 0.5771 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004829/0.3943, allocations: 321.2 kB / 0.5774 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.3947, allocations: 40.41 kB / 0.5775 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003601/0.3983, allocations: 2.477 MB / 0.5799 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.3985, allocations: 142 kB / 0.58 GB, free: 15.12 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.959e-05/0.3986, allocations: 21.94 kB / 0.58 GB, free: 15.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3987, allocations: 75.34 kB / 0.5801 GB, free: 15.02 MB / 430.1 MB Notification: Performance of SimCode: time 1.563e-06/0.3987, allocations: 4 kB / 0.5801 GB, free: 15.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04195/0.4406, allocations: 5.851 MB / 0.5858 GB, free: 9.309 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.34, allocations: 11.86 kB / 0.5858 GB, free: 9.297 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv failed! Error: Could not read variable basicTransformer.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.549970395979472]