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.001314/0.001314, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001508/0.001508, allocations: 214.9 kB / 23.74 MB, free: 4.672 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2405/0.2405, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] 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.002324/0.002324, allocations: 79.86 kB / 0.4962 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3665, allocations: 66.08 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.00422/0.3707, allocations: 2.605 MB / 0.5632 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3721, allocations: 0.6817 MB / 0.5639 GB, free: 1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.3722, allocations: 4 kB / 0.5639 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.3723, allocations: 39.58 kB / 0.564 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.3725, allocations: 75.33 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.3728, allocations: 75.84 kB / 0.5641 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.3732, allocations: 294.7 kB / 0.5644 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001884/0.3734, allocations: 74.38 kB / 0.5645 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.3736, allocations: 123.6 kB / 0.5646 GB, free: 328 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.3738, allocations: 119.5 kB / 0.5647 GB, free: 208 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.179e-05/0.3738, allocations: 24 kB / 0.5647 GB, free: 184 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.231e-05/0.3739, allocations: 24 kB / 0.5647 GB, free: 160 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.601e-05/0.374, allocations: 55.77 kB / 0.5648 GB, free: 104 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.3741, allocations: 123.5 kB / 0.5649 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003871/0.3745, allocations: 286.8 kB / 0.5652 GB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3745, allocations: 4 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3745, allocations: 7.938 kB / 0.5652 GB, free: 15.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.3745, allocations: 0 / 0.5652 GB, free: 15.68 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.0008566/0.3754, allocations: 477.4 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3754, allocations: 8.031 kB / 0.5656 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.3755, allocations: 58.73 kB / 0.5657 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.3757, allocations: 40.78 kB / 0.5657 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003896/0.376, allocations: 198.1 kB / 0.5659 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.3761, allocations: 16.81 kB / 0.5659 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.3761, allocations: 16.38 kB / 0.566 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003907/0.3765, allocations: 195.4 kB / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.3765, allocations: 0 / 0.5662 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.3765, allocations: 12 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3766, allocations: 7.938 kB / 0.5662 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.3768, allocations: 145.6 kB / 0.5663 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3782, allocations: 0.7563 MB / 0.567 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.3784, allocations: 98.41 kB / 0.5671 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.968e-05/0.3785, allocations: 48.83 kB / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3785, allocations: 0 / 0.5672 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.3786, allocations: 38.56 kB / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.3786, allocations: 0 / 0.5672 GB, free: 13.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.00182/0.3804, allocations: 0.6504 MB / 0.5679 GB, free: 12.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3804, allocations: 51.41 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.3806, allocations: 207 kB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/0.3807, allocations: 37.69 kB / 0.5681 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3808, allocations: 168.2 kB / 0.5683 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.3809, allocations: 63.52 kB / 0.5684 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.3809, allocations: 37.67 kB / 0.5684 GB, free: 12.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3811, allocations: 334.8 kB / 0.5687 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.3812, allocations: 59.97 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.3814, allocations: 109 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.3817, allocations: 175.8 kB / 0.569 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3817, allocations: 0 / 0.569 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005322/0.3822, allocations: 282.9 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3822, allocations: 6.188 kB / 0.5693 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3823, allocations: 7.938 kB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002975/0.3825, allocations: 69.83 kB / 0.5694 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3827, allocations: 31.92 kB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002706/0.3854, allocations: 2.825 MB / 0.5722 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.3856, allocations: 12.59 kB / 0.5722 GB, free: 7.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3856, allocations: 8 kB / 0.5722 GB, free: 7.965 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.0001645/0.3857, allocations: 137.2 kB / 0.5723 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.006e-05/0.3858, allocations: 19.91 kB / 0.5724 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.995e-05/0.3858, allocations: 25.86 kB / 0.5724 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3858, allocations: 0 / 0.5724 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.3858, allocations: 4.188 kB / 0.5724 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3858, allocations: 3.938 kB / 0.5724 GB, free: 7.773 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003362/0.3862, allocations: 260.5 kB / 0.5726 GB, free: 7.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3862, allocations: 4 kB / 0.5726 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.3863, allocations: 19.92 kB / 0.5727 GB, free: 7.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001902/0.3865, allocations: 65.67 kB / 0.5727 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.3865, allocations: 8 kB / 0.5727 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002657/0.3891, allocations: 2.811 MB / 0.5755 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3891, allocations: 0 / 0.5755 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007029/0.3898, allocations: 390.8 kB / 0.5758 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.826e-05/0.3899, allocations: 16.06 kB / 0.5759 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.3899, allocations: 8 kB / 0.5759 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3901, allocations: 11.98 kB / 0.5759 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.3902, allocations: 19.97 kB / 0.5759 GB, free: 3.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.3902, allocations: 7.984 kB / 0.5759 GB, free: 3.871 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.3903, allocations: 148.6 kB / 0.576 GB, free: 3.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3903, allocations: 0 / 0.576 GB, free: 3.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3907, allocations: 68 kB / 0.5761 GB, free: 3.66 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.001025/0.3918, allocations: 0.9246 MB / 0.577 GB, free: 2.699 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.3925, allocations: 395 kB / 0.5774 GB, free: 2.289 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3925, allocations: 4 kB / 0.5774 GB, free: 2.285 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.393, allocations: 325.6 kB / 0.5777 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.3933, allocations: 23.98 kB / 0.5777 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003923/0.3973, allocations: 2.499 MB / 0.5802 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006294/0.3979, allocations: 0.7479 MB / 0.5809 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.685e-05/0.398, allocations: 21.89 kB / 0.5809 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.3981, allocations: 71.34 kB / 0.581 GB, free: 14.44 MB / 430.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3981, allocations: 0 / 0.581 GB, free: 14.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05379/0.4519, allocations: 5.236 MB / 0.5861 GB, free: 9.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.25, allocations: 0 / 0.5861 GB, free: 9.32 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.455819151997275]