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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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(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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 100.4 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB 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.001151/0.001151, allocations: 47.94 kB / 280.7 MB, free: 3.086 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08168/0.08284, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005078/0.08797, allocations: 4.038 MB / 331.4 MB, free: 324 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.08943, allocations: 0.9199 MB / 332.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.08964, allocations: 11.94 kB / 332.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.08985, allocations: 95.06 kB / 332.4 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.09016, allocations: 170.4 kB / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.09049, allocations: 151.7 kB / 332.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.09105, allocations: 0.6654 MB / 333.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.09134, allocations: 199 kB / 333.6 MB, free: 14.1 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002437/0.09159, allocations: 259 kB / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.09189, allocations: 294.6 kB / 334.2 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.09197, allocations: 56 kB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.032e-05/0.09206, allocations: 56 kB / 334.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.09217, allocations: 119.5 kB / 334.4 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.09243, allocations: 310.4 kB / 334.7 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005279/0.09297, allocations: 0.6307 MB / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.09298, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.09299, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.093, allocations: 0 / 335.3 MB, free: 12.39 MB / 286.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.001334/0.09434, allocations: 0.865 MB / 336.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.09439, allocations: 12.03 kB / 336.2 MB, free: 11.46 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.09452, allocations: 111.8 kB / 336.3 MB, free: 11.35 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.09463, allocations: 64.19 kB / 336.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003974/0.09503, allocations: 375.6 kB / 336.7 MB, free: 10.88 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.09507, allocations: 37.69 kB / 336.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.09514, allocations: 48.38 kB / 336.8 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007151/0.09586, allocations: 0.4957 MB / 337.3 MB, free: 10.28 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.09589, allocations: 7.938 kB / 337.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.09594, allocations: 24 kB / 337.3 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.09595, allocations: 12 kB / 337.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005919/0.09655, allocations: 336.7 kB / 337.7 MB, free: 9.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/0.09896, allocations: 1.733 MB / 339.4 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000413/0.09938, allocations: 261.1 kB / 339.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.09962, allocations: 142.2 kB / 339.8 MB, free: 7.656 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.09965, allocations: 8 kB / 339.8 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.09969, allocations: 50.34 kB / 339.9 MB, free: 7.59 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.0997, allocations: 4 kB / 339.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001814/0.1015, allocations: 0.9498 MB / 340.8 MB, free: 6.559 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.519e-05/0.1016, allocations: 81.11 kB / 340.9 MB, free: 6.461 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000399/0.102, allocations: 385.6 kB / 341.3 MB, free: 6.074 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.102, allocations: 33.7 kB / 341.3 MB, free: 6.035 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.1022, allocations: 299.2 kB / 341.6 MB, free: 5.738 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.566e-05/0.1023, allocations: 110.5 kB / 341.7 MB, free: 5.629 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.1024, allocations: 70.05 kB / 341.8 MB, free: 5.555 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1026, allocations: 358.8 kB / 342.1 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.1028, allocations: 104.8 kB / 342.2 MB, free: 5.094 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.1031, allocations: 190.6 kB / 342.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.1035, allocations: 298.1 kB / 342.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1035, allocations: 0 / 342.7 MB, free: 4.543 MB / 286.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007583/0.1043, allocations: 454.3 kB / 343.2 MB, free: 4.086 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1043, allocations: 4 kB / 343.2 MB, free: 4.082 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1043, allocations: 7.984 kB / 343.2 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003084/0.1046, allocations: 89.88 kB / 343.2 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.1049, allocations: 83.83 kB / 343.3 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/0.1073, allocations: 3.139 MB / 346.5 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1076, allocations: 16 kB / 346.5 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1076, allocations: 16 kB / 346.5 MB, free: 464 kB / 286.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.0001655/0.1078, allocations: 165.8 kB / 346.7 MB, free: 288 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.1079, allocations: 47.38 kB / 346.7 MB, free: 240 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.758e-05/0.108, allocations: 51.45 kB / 346.8 MB, free: 192 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.108, allocations: 4 kB / 346.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.108, allocations: 0 / 346.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.108, allocations: 0 / 346.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.1093, allocations: 0.9475 MB / 347.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1093, allocations: 3.984 kB / 347.7 MB, free: 15.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.1095, allocations: 39.98 kB / 347.8 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/0.1097, allocations: 85.58 kB / 347.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.1098, allocations: 11.98 kB / 347.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.112, allocations: 3.135 MB / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.112, allocations: 0 / 351 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008283/0.1128, allocations: 0.6052 MB / 351.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.401e-05/0.1129, allocations: 124.7 kB / 351.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.113, allocations: 8 kB / 351.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003211/0.1133, allocations: 27.97 kB / 351.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.1134, allocations: 23.97 kB / 351.8 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.1134, allocations: 12 kB / 351.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000265/0.1137, allocations: 275.2 kB / 352.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.292e-06/0.1137, allocations: 0 / 352.1 MB, free: 10.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005165/0.1142, allocations: 123.9 kB / 352.2 MB, free: 10.38 MB / 302.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.00113/0.1153, allocations: 1.162 MB / 353.3 MB, free: 9.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008252/0.1162, allocations: 0.5324 MB / 353.9 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.1162, allocations: 3.938 kB / 353.9 MB, free: 8.621 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005442/0.1167, allocations: 381.2 kB / 354.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/0.1172, allocations: 61.92 kB / 354.3 MB, free: 8.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005009/0.1223, allocations: 4.277 MB / 358.6 MB, free: 3.727 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.1227, allocations: 0.851 MB / 359.4 MB, free: 2.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.1228, allocations: 43.28 kB / 359.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.123, allocations: 175.3 kB / 359.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.123, allocations: 0 / 359.6 MB, free: 2.637 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.152, allocations: 8.781 MB / 368.4 MB, free: 9.785 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.592/9.744, allocations: 7.75 kB / 368.4 MB, free: 9.777 MB / 318.1 MB (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 --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) 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) Reference file matches