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.001022/0.001022, allocations: 92.05 kB / 16.65 MB, free: 6.59 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.00116/0.00116, allocations: 180.4 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002586/0.0002587, allocations: 8 kB / 301.5 MB, free: 5.805 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1058, allocations: 50.41 MB / 351.9 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004049/0.1099, allocations: 3.705 MB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001404/0.1113, allocations: 0.8646 MB / 356.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001816/0.1115, allocations: 15.94 kB / 356.5 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.1117, allocations: 67.45 kB / 356.6 MB, free: 14.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.112, allocations: 150.8 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.1123, allocations: 119.8 kB / 356.9 MB, free: 14.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.1129, allocations: 0.6381 MB / 357.5 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.1132, allocations: 179.9 kB / 357.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002476/0.1135, allocations: 230.9 kB / 357.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.1138, allocations: 262.7 kB / 358.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.1139, allocations: 32 kB / 358.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.508e-05/0.1139, allocations: 28 kB / 358.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.814e-05/0.114, allocations: 107.4 kB / 358.3 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.1143, allocations: 296.2 kB / 358.6 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.1148, allocations: 0.5993 MB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1148, allocations: 0 / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.1148, allocations: 8 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.729e-06/0.1148, allocations: 0 / 359.2 MB, free: 12.06 MB / 302.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.001238/0.1161, allocations: 0.7755 MB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1161, allocations: 12.03 kB / 360 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001415/0.1163, allocations: 107.8 kB / 360.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1164, allocations: 76.09 kB / 360.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1168, allocations: 363.7 kB / 360.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.1169, allocations: 41.69 kB / 360.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.239e-05/0.117, allocations: 52.38 kB / 360.6 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/0.1178, allocations: 0.4995 MB / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1178, allocations: 0 / 361.1 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.669e-05/0.1178, allocations: 24 kB / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1179, allocations: 12 kB / 361.2 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.1185, allocations: 352.6 kB / 361.5 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/0.1211, allocations: 1.748 MB / 363.3 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.1216, allocations: 277.1 kB / 363.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.1218, allocations: 149.9 kB / 363.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1219, allocations: 4 kB / 363.7 MB, free: 7.355 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1219, allocations: 42.5 kB / 363.7 MB, free: 7.305 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.1219, allocations: 4 kB / 363.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001873/0.1238, allocations: 0.9689 MB / 364.7 MB, free: 6.254 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1239, allocations: 81.05 kB / 364.8 MB, free: 6.156 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004003/0.1243, allocations: 385.6 kB / 365.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.1243, allocations: 37.7 kB / 365.2 MB, free: 5.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.1245, allocations: 295.3 kB / 365.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.1246, allocations: 114.4 kB / 365.6 MB, free: 5.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.1247, allocations: 41.7 kB / 365.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1248, allocations: 346.8 kB / 366 MB, free: 4.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002069/0.125, allocations: 104.8 kB / 366.1 MB, free: 4.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.1253, allocations: 198.6 kB / 366.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.1258, allocations: 327.7 kB / 366.6 MB, free: 4.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1258, allocations: 3.938 kB / 366.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008121/0.1266, allocations: 450.3 kB / 367 MB, free: 3.777 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.1267, allocations: 11.98 kB / 367 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.1267, allocations: 320 / 367 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003366/0.127, allocations: 89.59 kB / 367.1 MB, free: 3.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.1273, allocations: 75.91 kB / 367.2 MB, free: 3.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002336/0.1297, allocations: 2.865 MB / 370.1 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.13, allocations: 19.91 kB / 370.1 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.13, allocations: 12 kB / 370.1 MB, free: 452 kB / 302.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.0001946/0.1302, allocations: 169.7 kB / 370.3 MB, free: 272 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.411e-05/0.1303, allocations: 39.53 kB / 370.3 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.699e-05/0.1304, allocations: 47.45 kB / 370.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.1304, allocations: 8.062 kB / 370.4 MB, free: 172 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.1304, allocations: 7.938 kB / 370.4 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.1304, allocations: 0 / 370.4 MB, free: 164 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1936/0.324, allocations: 0.9414 MB / 371.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3241, allocations: 0.625 kB / 371.3 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.3243, allocations: 53.09 kB / 371.4 MB, free: 23.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003283/0.3247, allocations: 80.14 kB / 371.4 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.3247, allocations: 8.188 kB / 371.4 MB, free: 23.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001852/0.3266, allocations: 2.855 MB / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3266, allocations: 1.391 kB / 374.3 MB, free: 21.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.3275, allocations: 0.6254 MB / 374.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.929e-05/0.3276, allocations: 119.1 kB / 375 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.572e-05/0.3277, allocations: 12.83 kB / 375.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.328, allocations: 39.55 kB / 375.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.3281, allocations: 24.48 kB / 375.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.3282, allocations: 18.62 kB / 375.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003914/0.3286, allocations: 268.8 kB / 375.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3286, allocations: 0 / 375.4 MB, free: 20.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006467/0.3292, allocations: 118.7 kB / 375.5 MB, free: 20.69 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.001284/0.3305, allocations: 1.18 MB / 376.7 MB, free: 19.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.3314, allocations: 0.5254 MB / 377.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3314, allocations: 3.016 kB / 377.2 MB, free: 19.69 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.3319, allocations: 386.2 kB / 377.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005626/0.3325, allocations: 64.94 kB / 377.7 MB, free: 19.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/0.338, allocations: 4.596 MB / 382.3 MB, free: 16.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3383, allocations: 0.8431 MB / 383.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000218/0.3386, allocations: 39.36 kB / 383.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.3387, allocations: 176.7 kB / 383.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3388, allocations: 0 / 383.3 MB, free: 15.76 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.3596, allocations: 8.263 MB / 391.6 MB, free: 13.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001474/0.3598, allocations: 235.1 kB / 391.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.207/2.566, allocations: 6.969 kB / 391.8 MB, free: 13.27 MB / 302.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