Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001478/0.001478, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001694/0.001694, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.709/1.709, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers",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.001988/0.001988, allocations: 51.92 kB / 347.2 MB, free: 9.996 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4254, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00523/0.4306, allocations: 4.055 MB / 400.4 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.4328, allocations: 0.9258 MB / 401.4 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/0.4331, allocations: 15.09 kB / 401.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.4334, allocations: 94.31 kB / 401.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004329/0.4338, allocations: 188.7 kB / 401.7 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.4342, allocations: 141.5 kB / 401.8 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007231/0.4349, allocations: 0.6796 MB / 402.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.4352, allocations: 144.7 kB / 402.6 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003265/0.4355, allocations: 270.1 kB / 402.9 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003536/0.4359, allocations: 286.7 kB / 403.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.39e-05/0.436, allocations: 58.81 kB / 403.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4361, allocations: 55.56 kB / 403.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.373e-05/0.4362, allocations: 127.6 kB / 403.4 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.4364, allocations: 310.3 kB / 403.7 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007497/0.4372, allocations: 0.6427 MB / 404.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4372, allocations: 0 / 404.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4372, allocations: 1.406 kB / 404.3 MB, free: 3.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4372, allocations: 0 / 404.3 MB, free: 3.918 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001345/0.4385, allocations: 0.8017 MB / 405.1 MB, free: 3.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4386, allocations: 13.56 kB / 405.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001381/0.4387, allocations: 108.3 kB / 405.3 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4388, allocations: 76.3 kB / 405.3 MB, free: 3.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005519/0.4394, allocations: 314.2 kB / 405.6 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.4394, allocations: 38.31 kB / 405.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.179e-05/0.4395, allocations: 50.66 kB / 405.7 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.4403, allocations: 0.4977 MB / 406.2 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.4403, allocations: 5.125 kB / 406.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.4404, allocations: 21.75 kB / 406.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4404, allocations: 12.5 kB / 406.3 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006319/0.441, allocations: 342 kB / 406.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002685/0.4437, allocations: 1.662 MB / 408.3 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.4442, allocations: 252.9 kB / 408.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002711/0.4444, allocations: 135.1 kB / 408.6 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.4445, allocations: 6.734 kB / 408.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.4445, allocations: 46.05 kB / 408.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.302e-06/0.4445, allocations: 0 / 408.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001851/0.4463, allocations: 0.8106 MB / 409.5 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.4464, allocations: 85.88 kB / 409.6 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004441/0.4468, allocations: 390.6 kB / 410 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.4468, allocations: 31.61 kB / 410 MB, free: 492 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.447, allocations: 301.6 kB / 410.3 MB, free: 244 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.4471, allocations: 119.4 kB / 410.4 MB, free: 148 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.4472, allocations: 71.61 kB / 410.5 MB, free: 104 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.4474, allocations: 357.6 kB / 410.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.4476, allocations: 103.8 kB / 410.9 MB, free: 15.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/0.4479, allocations: 197.3 kB / 411.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.4485, allocations: 305.1 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4485, allocations: 1.469 kB / 411.4 MB, free: 15.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009438/0.4494, allocations: 451 kB / 411.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.4494, allocations: 7.031 kB / 411.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.4494, allocations: 2.031 kB / 411.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003765/0.4498, allocations: 85.98 kB / 412 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.4502, allocations: 78.95 kB / 412 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.4535, allocations: 2.921 MB / 414.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000408/0.4539, allocations: 19.08 kB / 415 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-05/0.454, allocations: 20.64 kB / 415 MB, free: 12.22 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003296/0.4543, allocations: 166.1 kB / 415.2 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.4544, allocations: 45.77 kB / 415.2 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.688e-05/0.4545, allocations: 44.41 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4545, allocations: 3.531 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-05/0.4545, allocations: 2.094 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.4545, allocations: 13.06 kB / 415.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001719/0.4562, allocations: 0.9112 MB / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.4562, allocations: 0 / 416.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.4564, allocations: 46.5 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002994/0.4567, allocations: 86 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.229e-05/0.4568, allocations: 6.719 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002806/0.4596, allocations: 2.922 MB / 419.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4596, allocations: 0 / 419.2 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4607, allocations: 0.6145 MB / 419.8 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4608, allocations: 37.77 kB / 419.9 MB, free: 7.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.4609, allocations: 10.14 kB / 419.9 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.4612, allocations: 30.45 kB / 419.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4613, allocations: 27.98 kB / 419.9 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.682e-05/0.4614, allocations: 7.438 kB / 420 MB, free: 7.824 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004393/0.4618, allocations: 280.7 kB / 420.2 MB, free: 7.648 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4618, allocations: 5.219 kB / 420.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007447/0.4625, allocations: 117.6 kB / 420.3 MB, free: 7.633 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001407/0.4639, allocations: 1.181 MB / 421.5 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.465, allocations: 0.4924 MB / 422 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.465, allocations: 1.281 kB / 422 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006351/0.4656, allocations: 384 kB / 422.4 MB, free: 5.996 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005303/0.4661, allocations: 57.27 kB / 422.5 MB, free: 5.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007524/0.4737, allocations: 4.197 MB / 426.6 MB, free: 3.023 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.4743, allocations: 0.8398 MB / 427.5 MB, free: 2.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002316/0.4745, allocations: 44.56 kB / 427.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/0.4748, allocations: 172.3 kB / 427.7 MB, free: 2.086 MB / 334.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4748, allocations: 5.125 kB / 427.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05214/0.5269, allocations: 9.326 MB / 437 MB, free: 9.359 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.72, allocations: 3.953 kB / 437 MB, free: 9.355 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 17.96057422319427]