Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_0_0_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.002265/0.002265, allocations: 109.2 kB / 17.06 MB, free: 5.977 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.003443/0.003443, allocations: 198.9 kB / 18.01 MB, free: 5.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.201/2.201, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 47.92 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8354/0.8377, allocations: 49.43 MB / 400.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.01084/0.8486, allocations: 4.084 MB / 404.3 MB, free: 4.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.8534, allocations: 0.8763 MB / 405.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.8549, allocations: 8 kB / 405.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.8561, allocations: 95.06 kB / 405.3 MB, free: 3.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.8583, allocations: 182.4 kB / 405.5 MB, free: 3.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009395/0.8593, allocations: 135.8 kB / 405.6 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00171/0.861, allocations: 0.6732 MB / 406.3 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006484/0.8617, allocations: 215 kB / 406.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007061/0.8624, allocations: 255 kB / 406.8 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.863, allocations: 286.7 kB / 407 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.8632, allocations: 56 kB / 407.1 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.8634, allocations: 55.94 kB / 407.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.8636, allocations: 139.4 kB / 407.3 MB, free: 1.859 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.864, allocations: 298.5 kB / 407.6 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.8651, allocations: 0.6361 MB / 408.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.8651, allocations: 0 / 408.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.302e-06/0.8652, allocations: 4 kB / 408.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.803e-05/0.8652, allocations: 4 kB / 408.2 MB, free: 0.9219 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.002867/0.8681, allocations: 0.8642 MB / 409.1 MB, free: 12 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001018/0.8682, allocations: 12.03 kB / 409.1 MB, free: 0 / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003388/0.8686, allocations: 103.8 kB / 409.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002433/0.8688, allocations: 72.19 kB / 409.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.8701, allocations: 367.6 kB / 409.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.788e-05/0.8702, allocations: 45.62 kB / 409.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001544/0.8704, allocations: 48.38 kB / 409.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.8719, allocations: 0.4957 MB / 410.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.8719, allocations: 0 / 410.2 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.341e-05/0.872, allocations: 24 kB / 410.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.8721, allocations: 12 kB / 410.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.8731, allocations: 344.6 kB / 410.6 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004354/0.8775, allocations: 1.717 MB / 412.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000755/0.8783, allocations: 257.1 kB / 412.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003785/0.8787, allocations: 148.1 kB / 412.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.8787, allocations: 11.98 kB / 412.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.204e-05/0.8788, allocations: 42.5 kB / 412.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 6.102e-06/0.8788, allocations: 0 / 412.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.004898/0.8838, allocations: 0.9607 MB / 413.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.884, allocations: 81.11 kB / 413.8 MB, free: 11.01 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.8853, allocations: 381.6 kB / 414.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.152e-05/0.8854, allocations: 33.7 kB / 414.2 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.8861, allocations: 303.3 kB / 414.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.8864, allocations: 114.3 kB / 414.6 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.8868, allocations: 70.14 kB / 414.7 MB, free: 10.1 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000498/0.8873, allocations: 346.8 kB / 415 MB, free: 9.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006644/0.888, allocations: 104.8 kB / 415.1 MB, free: 9.645 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008419/0.8888, allocations: 190.6 kB / 415.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/0.8902, allocations: 311.6 kB / 415.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/0.8903, allocations: 4 kB / 415.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00201/0.8923, allocations: 444.2 kB / 416.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.8924, allocations: 8.312 kB / 416.1 MB, free: 8.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.81e-05/0.8924, allocations: 7.938 kB / 416.1 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006605/0.8931, allocations: 81.59 kB / 416.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.8936, allocations: 75.91 kB / 416.2 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004423/0.8981, allocations: 3.134 MB / 419.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/0.8988, allocations: 19.92 kB / 419.4 MB, free: 5.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-05/0.8988, allocations: 16 kB / 419.4 MB, free: 5.016 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.0004498/0.8993, allocations: 157.8 kB / 419.5 MB, free: 4.852 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.8995, allocations: 47.53 kB / 419.6 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.8996, allocations: 47.47 kB / 419.6 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.8996, allocations: 4 kB / 419.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.8997, allocations: 0 / 419.6 MB, free: 4.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.142e-05/0.8997, allocations: 3.984 kB / 419.6 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.9019, allocations: 0.9512 MB / 420.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.902, allocations: 192 / 420.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.9023, allocations: 55.84 kB / 420.7 MB, free: 3.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000468/0.9027, allocations: 85.64 kB / 420.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.433e-05/0.9028, allocations: 8 kB / 420.7 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.9075, allocations: 3.123 MB / 423.9 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9076, allocations: 0 / 423.9 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.9095, allocations: 0.6203 MB / 424.5 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.9097, allocations: 116.6 kB / 424.6 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.9098, allocations: 12 kB / 424.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005877/0.9104, allocations: 31.97 kB / 424.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.9106, allocations: 27.91 kB / 424.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.9106, allocations: 8 kB / 424.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000511/0.9111, allocations: 271.2 kB / 424.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9111, allocations: 0 / 424.9 MB, free: 15.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001082/0.9122, allocations: 120 kB / 425.1 MB, free: 14.94 MB / 350.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.001998/0.9143, allocations: 1.166 MB / 426.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001563/0.9158, allocations: 0.5114 MB / 426.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9159, allocations: 0 / 426.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008646/0.9167, allocations: 389.8 kB / 427.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009377/0.9177, allocations: 61.45 kB / 427.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.9281, allocations: 4.182 MB / 431.4 MB, free: 8.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009435/0.9291, allocations: 0.8431 MB / 432.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004626/0.9296, allocations: 43.28 kB / 432.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004452/0.9301, allocations: 179.4 kB / 432.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of SimCode: time 2.254e-06/0.9301, allocations: 0 / 432.4 MB, free: 7.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2226/1.153, allocations: 9.116 MB / 441.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 24.86/26.02, allocations: 8.75 kB / 441.5 MB, free: 14.37 MB / 366.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches