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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 114.6 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.54/1.54, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.436/0.436, allocations: 44.24 MB / 326.5 MB, free: 6.805 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 75.88 kB / 462.2 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.4021, allocations: 60.99 MB / 0.5109 GB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003585/0.4057, allocations: 2.538 MB / 0.5134 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.4067, allocations: 0.6546 MB / 0.514 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.4068, allocations: 4.344 kB / 0.514 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.407, allocations: 39.92 kB / 0.514 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001168/0.4071, allocations: 75.56 kB / 0.5141 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.4073, allocations: 63.62 kB / 0.5142 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.4076, allocations: 294.4 kB / 0.5145 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001639/0.4077, allocations: 63.41 kB / 0.5145 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.4079, allocations: 114.8 kB / 0.5146 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.408, allocations: 124.6 kB / 0.5147 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.4081, allocations: 22.81 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.684e-05/0.4081, allocations: 23.62 kB / 0.5148 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.476e-05/0.4082, allocations: 54.36 kB / 0.5148 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.642e-05/0.4083, allocations: 120.1 kB / 0.515 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.4085, allocations: 285.4 kB / 0.5152 GB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.4085, allocations: 1.156 kB / 0.5152 GB, free: 9.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4085, allocations: 0 / 0.5152 GB, free: 9.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.4085, allocations: 0 / 0.5152 GB, free: 9.762 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.0007861/0.4093, allocations: 0.5411 MB / 0.5158 GB, free: 9.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.4094, allocations: 13.61 kB / 0.5158 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.81e-05/0.4094, allocations: 52.55 kB / 0.5158 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.814e-05/0.4095, allocations: 27.27 kB / 0.5158 GB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.4098, allocations: 252.1 kB / 0.5161 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.4098, allocations: 17.34 kB / 0.5161 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.4099, allocations: 21.44 kB / 0.5161 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.4102, allocations: 195.6 kB / 0.5163 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4102, allocations: 0 / 0.5163 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.4102, allocations: 9.281 kB / 0.5163 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.4103, allocations: 5.438 kB / 0.5163 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.4105, allocations: 141.3 kB / 0.5165 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.4116, allocations: 0.8041 MB / 0.5172 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.4118, allocations: 96.98 kB / 0.5173 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.4119, allocations: 49.45 kB / 0.5174 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4119, allocations: 1.562 kB / 0.5174 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.4119, allocations: 35.88 kB / 0.5174 GB, free: 7.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4119, allocations: 0 / 0.5174 GB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001575/0.4135, allocations: 0.7273 MB / 0.5181 GB, free: 7.328 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.4135, allocations: 63.41 kB / 0.5182 GB, free: 7.254 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4137, allocations: 207.8 kB / 0.5184 GB, free: 7.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.4137, allocations: 29.7 kB / 0.5184 GB, free: 7.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.4138, allocations: 168.1 kB / 0.5186 GB, free: 6.836 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.4138, allocations: 59.48 kB / 0.5186 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.4138, allocations: 45.66 kB / 0.5187 GB, free: 6.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.74e-05/0.4139, allocations: 326.8 kB / 0.519 GB, free: 6.398 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.414, allocations: 63.97 kB / 0.519 GB, free: 6.336 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.4141, allocations: 105.1 kB / 0.5191 GB, free: 6.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.4144, allocations: 172 kB / 0.5193 GB, free: 6.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4144, allocations: 3.938 kB / 0.5193 GB, free: 6.027 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004096/0.4148, allocations: 279.8 kB / 0.5196 GB, free: 5.742 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.4148, allocations: 7.938 kB / 0.5196 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4148, allocations: 4 kB / 0.5196 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002136/0.415, allocations: 65.67 kB / 0.5197 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4152, allocations: 31.98 kB / 0.5197 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.4167, allocations: 3.025 MB / 0.5226 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4169, allocations: 8 kB / 0.5226 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.4169, allocations: 12 kB / 0.5227 GB, free: 2.301 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.0001176/0.417, allocations: 146.6 kB / 0.5228 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.4171, allocations: 19.86 kB / 0.5228 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.396e-05/0.4171, allocations: 21.88 kB / 0.5228 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4171, allocations: 4 kB / 0.5228 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4171, allocations: 0 / 0.5228 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4171, allocations: 3.984 kB / 0.5228 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000225/0.4173, allocations: 285.5 kB / 0.5231 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4173, allocations: 4 kB / 0.5231 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.275e-05/0.4174, allocations: 15.98 kB / 0.5231 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001555/0.4176, allocations: 69.67 kB / 0.5232 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4176, allocations: 3.984 kB / 0.5232 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.4197, allocations: 3.009 MB / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4197, allocations: 0 / 0.5261 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.4204, allocations: 396.8 kB / 0.5265 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.4205, allocations: 93.03 kB / 0.5266 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.4205, allocations: 11.94 kB / 0.5266 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.4207, allocations: 11.98 kB / 0.5266 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.4208, allocations: 20.05 kB / 0.5267 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4208, allocations: 7.984 kB / 0.5267 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.421, allocations: 153.5 kB / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.421, allocations: 0 / 0.5268 GB, free: 13.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000397/0.4214, allocations: 64 kB / 0.5269 GB, free: 13.6 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.001238/0.4226, allocations: 0.9315 MB / 0.5278 GB, free: 12.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009116/0.4235, allocations: 401.2 kB / 0.5282 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4235, allocations: 0 / 0.5282 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005369/0.4241, allocations: 329.2 kB / 0.5285 GB, free: 11.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.4245, allocations: 34.67 kB / 0.5285 GB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.4284, allocations: 2.465 MB / 0.5309 GB, free: 9.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.4289, allocations: 0.744 MB / 0.5316 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001008/0.429, allocations: 21.94 kB / 0.5317 GB, free: 8.465 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.4292, allocations: 67.41 kB / 0.5317 GB, free: 8.398 MB / 398.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4292, allocations: 0 / 0.5317 GB, free: 8.398 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03808/0.4672, allocations: 5.035 MB / 0.5366 GB, free: 3.355 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.946/10.41, allocations: 5.438 kB / 0.5367 GB, free: 3.352 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.509449493139982]