Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 115.8 kB / 17.13 MB, free: 5.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 212 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 207.6 MB / 230.5 MB, free: 4.008 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4205/0.4205, allocations: 44.23 MB / 326.6 MB, free: 6.785 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002608/0.002608, allocations: 67.91 kB / 462.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3572, allocations: 61 MB / 0.5109 GB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003479/0.3607, allocations: 2.54 MB / 0.5134 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3618, allocations: 0.6576 MB / 0.514 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.362, allocations: 6.75 kB / 0.514 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001295/0.3621, allocations: 39.86 kB / 0.5141 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.3622, allocations: 71.75 kB / 0.5142 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.3625, allocations: 66.66 kB / 0.5142 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.3628, allocations: 291.1 kB / 0.5145 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.363, allocations: 67.05 kB / 0.5146 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000184/0.3631, allocations: 113 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.3633, allocations: 129.7 kB / 0.5148 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.3634, allocations: 23.12 kB / 0.5148 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.211e-05/0.3634, allocations: 23.72 kB / 0.5148 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.3635, allocations: 54.23 kB / 0.5149 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.3636, allocations: 120.2 kB / 0.515 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.3639, allocations: 285.4 kB / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3639, allocations: 0 / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3639, allocations: 1.219 kB / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.3639, allocations: 0 / 0.5153 GB, free: 9.664 MB / 382.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.0009067/0.3648, allocations: 0.5359 MB / 0.5158 GB, free: 9.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3649, allocations: 13.42 kB / 0.5158 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.21e-05/0.3649, allocations: 54.36 kB / 0.5159 GB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.078e-05/0.365, allocations: 25.45 kB / 0.5159 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003951/0.3654, allocations: 253.8 kB / 0.5161 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.3654, allocations: 17.44 kB / 0.5161 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.3655, allocations: 20.34 kB / 0.5162 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.3659, allocations: 195 kB / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3659, allocations: 0 / 0.5164 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.484e-05/0.3659, allocations: 10.75 kB / 0.5164 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3659, allocations: 5.5 kB / 0.5164 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3662, allocations: 141.1 kB / 0.5165 GB, free: 8.625 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001307/0.3675, allocations: 0.7988 MB / 0.5173 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.3677, allocations: 102.3 kB / 0.5174 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.997e-05/0.3678, allocations: 45.45 kB / 0.5174 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.3678, allocations: 1.375 kB / 0.5174 GB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.3678, allocations: 40 kB / 0.5175 GB, free: 7.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3678, allocations: 0 / 0.5175 GB, free: 7.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.00177/0.3696, allocations: 0.7225 MB / 0.5182 GB, free: 7.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.3696, allocations: 60.94 kB / 0.5182 GB, free: 7.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000172/0.3698, allocations: 211.5 kB / 0.5184 GB, free: 7.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.3698, allocations: 27.39 kB / 0.5185 GB, free: 6.988 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.3699, allocations: 164.2 kB / 0.5186 GB, free: 6.824 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3699, allocations: 67.45 kB / 0.5187 GB, free: 6.758 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.389e-05/0.37, allocations: 49.66 kB / 0.5187 GB, free: 6.703 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.3701, allocations: 326.8 kB / 0.519 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.3702, allocations: 63.97 kB / 0.5191 GB, free: 6.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.3703, allocations: 101.8 kB / 0.5192 GB, free: 6.195 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.3705, allocations: 172 kB / 0.5194 GB, free: 6.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3705, allocations: 0 / 0.5194 GB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004235/0.371, allocations: 287.1 kB / 0.5196 GB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.371, allocations: 8 kB / 0.5196 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.371, allocations: 0 / 0.5196 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002158/0.3712, allocations: 73.61 kB / 0.5197 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.3714, allocations: 31.98 kB / 0.5197 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.3731, allocations: 3.013 MB / 0.5227 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.3732, allocations: 12 kB / 0.5227 GB, free: 2.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3733, allocations: 8 kB / 0.5227 GB, free: 2.285 MB / 382.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.0001228/0.3734, allocations: 145.8 kB / 0.5228 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.216e-05/0.3734, allocations: 24.52 kB / 0.5229 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3735, allocations: 21.88 kB / 0.5229 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3735, allocations: 0 / 0.5229 GB, free: 2.082 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3735, allocations: 4 kB / 0.5229 GB, free: 2.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3735, allocations: 3.984 kB / 0.5229 GB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002277/0.3737, allocations: 281.5 kB / 0.5232 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3737, allocations: 4 kB / 0.5232 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.3738, allocations: 19.92 kB / 0.5232 GB, free: 1.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001673/0.374, allocations: 69.67 kB / 0.5232 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.374, allocations: 7.984 kB / 0.5233 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.3761, allocations: 3.005 MB / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3761, allocations: 0 / 0.5262 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.3768, allocations: 404.4 kB / 0.5266 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.839e-05/0.3769, allocations: 97.03 kB / 0.5267 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.3769, allocations: 4 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3771, allocations: 15.98 kB / 0.5267 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.3772, allocations: 16.05 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.3772, allocations: 4 kB / 0.5267 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3774, allocations: 161.5 kB / 0.5269 GB, free: 13.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3774, allocations: 0 / 0.5269 GB, free: 13.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004015/0.3778, allocations: 64 kB / 0.5269 GB, free: 13.57 MB / 398.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.001083/0.3789, allocations: 0.9207 MB / 0.5278 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007742/0.3796, allocations: 401.2 kB / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.3796, allocations: 0 / 0.5282 GB, free: 12.2 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004862/0.3801, allocations: 329.2 kB / 0.5285 GB, free: 11.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3805, allocations: 30.59 kB / 0.5285 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003491/0.384, allocations: 2.475 MB / 0.531 GB, free: 9.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.3844, allocations: 0.7401 MB / 0.5317 GB, free: 8.461 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.25e-05/0.3845, allocations: 21.94 kB / 0.5317 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.3846, allocations: 71.41 kB / 0.5318 GB, free: 8.371 MB / 398.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3846, allocations: 0 / 0.5318 GB, free: 8.371 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04966/0.4343, allocations: 5.028 MB / 0.5367 GB, free: 3.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.879/10.31, allocations: 3.984 kB / 0.5367 GB, free: 3.332 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_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_3_2_3_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i2 in file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.832828790997155]