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.00161/0.00161, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001532/0.001532, allocations: 213 kB / 23.73 MB, free: 4.164 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.442/1.442, allocations: 230.5 MB / 257.4 MB, free: 7.789 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.2432/0.2432, allocations: 46.96 MB / 360.8 MB, free: 3.934 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.002591/0.002591, allocations: 79.88 kB / 0.4961 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3222, allocations: 66.09 MB / 0.5607 GB, free: 4.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003745/0.326, allocations: 2.423 MB / 0.563 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3272, allocations: 0.6311 MB / 0.5637 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000121/0.3273, allocations: 4 kB / 0.5637 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001521/0.3274, allocations: 39.58 kB / 0.5637 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.3276, allocations: 79.34 kB / 0.5638 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.3279, allocations: 83.81 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.3282, allocations: 290.7 kB / 0.5641 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.3284, allocations: 66.39 kB / 0.5642 GB, free: 436 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000229/0.3286, allocations: 123.5 kB / 0.5643 GB, free: 312 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.3288, allocations: 103.5 kB / 0.5644 GB, free: 208 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.907e-05/0.3288, allocations: 20 kB / 0.5644 GB, free: 188 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.3289, allocations: 31.94 kB / 0.5645 GB, free: 156 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.3289, allocations: 47.84 kB / 0.5645 GB, free: 108 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.3291, allocations: 111.5 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003539/0.3294, allocations: 286.8 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3294, allocations: 3.938 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3294, allocations: 0 / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3294, allocations: 0 / 0.5649 GB, free: 15.71 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.0008271/0.3303, allocations: 481.4 kB / 0.5653 GB, free: 15.21 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3303, allocations: 8.031 kB / 0.5654 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.516e-05/0.3304, allocations: 58.73 kB / 0.5654 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.3305, allocations: 36.78 kB / 0.5654 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.3309, allocations: 198.1 kB / 0.5656 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.3309, allocations: 12.81 kB / 0.5656 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.533e-05/0.331, allocations: 24.38 kB / 0.5657 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.3314, allocations: 276.5 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3314, allocations: 3.938 kB / 0.5659 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.3314, allocations: 4 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.3314, allocations: 12 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.3317, allocations: 141.6 kB / 0.5661 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.3329, allocations: 0.7212 MB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3331, allocations: 94.42 kB / 0.5669 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.3332, allocations: 48.83 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3332, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3333, allocations: 34.56 kB / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.02e-07/0.3333, allocations: 0 / 0.567 GB, free: 13.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001681/0.3349, allocations: 0.6465 MB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.335, allocations: 51.41 kB / 0.5676 GB, free: 12.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.3352, allocations: 218.9 kB / 0.5678 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.254e-05/0.3352, allocations: 29.7 kB / 0.5679 GB, free: 12.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.3353, allocations: 168.2 kB / 0.568 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.3354, allocations: 67.45 kB / 0.5681 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.3355, allocations: 41.7 kB / 0.5681 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3356, allocations: 326.8 kB / 0.5685 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.3357, allocations: 59.97 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.3359, allocations: 109 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.3362, allocations: 179.8 kB / 0.5688 GB, free: 11.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3362, allocations: 0 / 0.5688 GB, free: 11.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000515/0.3367, allocations: 287 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.3367, allocations: 7.938 kB / 0.5691 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3367, allocations: 4 kB / 0.5691 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.337, allocations: 65.67 kB / 0.5691 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.3371, allocations: 36.58 kB / 0.5692 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002461/0.3396, allocations: 2.794 MB / 0.5719 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3397, allocations: 11.97 kB / 0.5719 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.3397, allocations: 11.98 kB / 0.5719 GB, free: 7.953 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.0001624/0.3399, allocations: 141.8 kB / 0.5721 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.563e-05/0.34, allocations: 20.03 kB / 0.5721 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.589e-05/0.34, allocations: 17.81 kB / 0.5721 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.34, allocations: 7.938 kB / 0.5721 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.34, allocations: 0 / 0.5721 GB, free: 7.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.34, allocations: 3.984 kB / 0.5721 GB, free: 7.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.3403, allocations: 236.6 kB / 0.5723 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3403, allocations: 0 / 0.5723 GB, free: 7.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.93e-05/0.3404, allocations: 19.92 kB / 0.5723 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001938/0.3406, allocations: 69.67 kB / 0.5724 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.3406, allocations: 4 kB / 0.5724 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.3429, allocations: 2.787 MB / 0.5751 GB, free: 4.371 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3429, allocations: 4.031 kB / 0.5751 GB, free: 4.367 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006399/0.3436, allocations: 392.9 kB / 0.5755 GB, free: 3.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.3436, allocations: 15.89 kB / 0.5755 GB, free: 3.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3436, allocations: 11.98 kB / 0.5755 GB, free: 3.934 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.3438, allocations: 8 kB / 0.5756 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.169e-05/0.3439, allocations: 23.95 kB / 0.5756 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.3439, allocations: 4.062 kB / 0.5756 GB, free: 3.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.3441, allocations: 152.6 kB / 0.5757 GB, free: 3.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3441, allocations: 4 kB / 0.5757 GB, free: 3.746 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.3445, allocations: 64 kB / 0.5758 GB, free: 3.684 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.0009737/0.3454, allocations: 0.915 MB / 0.5767 GB, free: 2.734 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007258/0.3462, allocations: 401.2 kB / 0.5771 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3462, allocations: 0 / 0.5771 GB, free: 2.316 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004849/0.3466, allocations: 321.2 kB / 0.5774 GB, free: 1.977 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.347, allocations: 36.42 kB / 0.5774 GB, free: 1.941 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/0.3503, allocations: 2.492 MB / 0.5798 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.3505, allocations: 145.9 kB / 0.58 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.028e-05/0.3506, allocations: 21.94 kB / 0.58 GB, free: 15.15 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.3507, allocations: 67.41 kB / 0.5801 GB, free: 15.08 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3507, allocations: 0 / 0.5801 GB, free: 15.08 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04037/0.391, allocations: 5.77 MB / 0.5857 GB, free: 9.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.96, allocations: 11.98 kB / 0.5857 GB, free: 9.438 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.131672766059637]