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.00139/0.00139, allocations: 111.7 kB / 17.73 MB, free: 5.355 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.001551/0.001551, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.708/1.708, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001481/0.001481, allocations: 55.92 kB / 328.1 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1399, allocations: 46.61 MB / 374.7 MB, free: 5.051 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.008945/0.1489, allocations: 4.049 MB / 378.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.152, allocations: 0.916 MB / 379.6 MB, free: 56 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.1528, allocations: 12 kB / 379.6 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.341/0.4939, allocations: 83.2 kB / 379.7 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.495, allocations: 188.4 kB / 379.9 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.4957, allocations: 145.6 kB / 380.1 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.4967, allocations: 0.6739 MB / 380.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004064/0.4972, allocations: 213 kB / 380.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003956/0.4976, allocations: 256.7 kB / 381.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003946/0.498, allocations: 292 kB / 381.5 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.4981, allocations: 54.78 kB / 381.5 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.4982, allocations: 58.38 kB / 381.6 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.4984, allocations: 129.2 kB / 381.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.4988, allocations: 304.1 kB / 382 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.4998, allocations: 0.6416 MB / 382.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4999, allocations: 0.5312 kB / 382.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4999, allocations: 0 / 382.6 MB, free: 8.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.4999, allocations: 0.5312 kB / 382.6 MB, free: 8.801 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.001821/0.5017, allocations: 0.8779 MB / 383.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5018, allocations: 9.75 kB / 383.5 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001582/0.5019, allocations: 109.5 kB / 383.6 MB, free: 8.188 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.5021, allocations: 66.86 kB / 383.7 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007179/0.5028, allocations: 380.6 kB / 384.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.5029, allocations: 39.5 kB / 384.1 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.636e-05/0.503, allocations: 51.22 kB / 384.2 MB, free: 7.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5041, allocations: 0.4984 MB / 384.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5041, allocations: 0 / 384.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.454e-05/0.5042, allocations: 22.72 kB / 384.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.5042, allocations: 13.22 kB / 384.7 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007327/0.5049, allocations: 343.4 kB / 385 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.5082, allocations: 1.716 MB / 386.8 MB, free: 6.625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/0.5088, allocations: 263.6 kB / 387 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.5091, allocations: 143.9 kB / 387.1 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.5091, allocations: 7.531 kB / 387.2 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.5092, allocations: 41.42 kB / 387.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.704e-06/0.5092, allocations: 1.281 kB / 387.2 MB, free: 6.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.002677/0.5119, allocations: 0.974 MB / 388.2 MB, free: 5.707 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/0.512, allocations: 80.75 kB / 388.3 MB, free: 5.613 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/0.5127, allocations: 383.2 kB / 388.6 MB, free: 5.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.5127, allocations: 31.8 kB / 388.7 MB, free: 5.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.5131, allocations: 308.4 kB / 389 MB, free: 5.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.5132, allocations: 118.6 kB / 389.1 MB, free: 5.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.5134, allocations: 76.36 kB / 389.1 MB, free: 5 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.5136, allocations: 348.2 kB / 389.5 MB, free: 4.672 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.5139, allocations: 99.72 kB / 389.6 MB, free: 4.641 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004739/0.5144, allocations: 197.2 kB / 389.8 MB, free: 4.492 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006801/0.5151, allocations: 311.4 kB / 390.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5151, allocations: 1.219 kB / 390.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001278/0.5164, allocations: 452.2 kB / 390.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.5165, allocations: 6.359 kB / 390.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.5165, allocations: 3.312 kB / 390.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.517, allocations: 86.05 kB / 390.6 MB, free: 4.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.5175, allocations: 78.88 kB / 390.7 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.5211, allocations: 3.134 MB / 393.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004214/0.5215, allocations: 20.22 kB / 393.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.5215, allocations: 15.03 kB / 393.9 MB, free: 0.9531 MB / 318.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.0003742/0.5219, allocations: 177.4 kB / 394 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5221, allocations: 48.94 kB / 394.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.5221, allocations: 40.08 kB / 394.1 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5222, allocations: 8.281 kB / 394.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/0.5222, allocations: 2.281 kB / 394.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.5222, allocations: 3.984 kB / 394.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5241, allocations: 0.947 MB / 395.1 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/0.5241, allocations: 0 / 395.1 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.5244, allocations: 41.98 kB / 395.1 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003164/0.5247, allocations: 89.66 kB / 395.2 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.5248, allocations: 6.062 kB / 395.2 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003433/0.5282, allocations: 3.127 MB / 398.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.5283, allocations: 3.938 kB / 398.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.5296, allocations: 0.6257 MB / 399 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.5298, allocations: 123.8 kB / 399.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.315e-05/0.5298, allocations: 7.016 kB / 399.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.5302, allocations: 31.52 kB / 399.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5303, allocations: 23.48 kB / 399.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.529e-05/0.5303, allocations: 9.547 kB / 399.2 MB, free: 12.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005166/0.5309, allocations: 274.7 kB / 399.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5309, allocations: 0 / 399.4 MB, free: 12.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008362/0.5317, allocations: 118.2 kB / 399.6 MB, free: 12.33 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.001642/0.5334, allocations: 1.173 MB / 400.7 MB, free: 11.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001293/0.5347, allocations: 0.506 MB / 401.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5347, allocations: 5.344 kB / 401.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007708/0.5355, allocations: 389.2 kB / 401.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/0.5361, allocations: 60.55 kB / 401.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/0.5441, allocations: 4.19 MB / 405.9 MB, free: 8.172 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007829/0.5449, allocations: 0.8387 MB / 406.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.5452, allocations: 48.8 kB / 406.8 MB, free: 7.449 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.5456, allocations: 168.2 kB / 406.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of SimCode: time 1.953e-06/0.5456, allocations: 0.8438 kB / 406.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.045/0.5906, allocations: 8.991 MB / 415.9 MB, free: 3.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.16, allocations: 9.359 kB / 415.9 MB, free: 3.496 MB / 334.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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