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.001394/0.001394, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001365/0.001365, allocations: 183.1 kB / 18.67 MB, free: 4.41 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.499/1.499, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001667/0.001667, allocations: 55.92 kB / 328.1 MB, free: 3.773 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09044/0.09212, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005658/0.09782, allocations: 4.042 MB / 378.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001883/0.09974, allocations: 0.9121 MB / 379.6 MB, free: 64 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002962/0.1001, allocations: 11.94 kB / 379.6 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1721/0.2722, allocations: 89.8 kB / 379.7 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006864/0.2729, allocations: 180.9 kB / 379.9 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.2733, allocations: 137.7 kB / 380 MB, free: 9.172 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.274, allocations: 0.6726 MB / 380.7 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003377/0.2743, allocations: 205.4 kB / 380.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002976/0.2746, allocations: 257.3 kB / 381.2 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003365/0.275, allocations: 297 kB / 381.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.227e-05/0.2751, allocations: 54.69 kB / 381.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.2752, allocations: 55.56 kB / 381.6 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2753, allocations: 129.5 kB / 381.7 MB, free: 9.016 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003112/0.2756, allocations: 306.4 kB / 382 MB, free: 8.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008635/0.2765, allocations: 0.6385 MB / 382.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2765, allocations: 0.5938 kB / 382.6 MB, free: 8.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2765, allocations: 3.938 kB / 382.6 MB, free: 8.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.2765, allocations: 0.5625 kB / 382.6 MB, free: 8.812 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.001447/0.278, allocations: 0.8781 MB / 383.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.278, allocations: 8.969 kB / 383.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001371/0.2782, allocations: 109.1 kB / 383.6 MB, free: 8.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.2783, allocations: 69.62 kB / 383.7 MB, free: 8.168 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.2788, allocations: 373.4 kB / 384.1 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.2789, allocations: 45.5 kB / 384.1 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/0.279, allocations: 51.12 kB / 384.2 MB, free: 7.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.2798, allocations: 0.4948 MB / 384.7 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2798, allocations: 5.859 kB / 384.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.365e-05/0.2799, allocations: 21.5 kB / 384.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2799, allocations: 12.81 kB / 384.7 MB, free: 7.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.2805, allocations: 347.8 kB / 385 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.2831, allocations: 1.716 MB / 386.7 MB, free: 6.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004574/0.2836, allocations: 258.3 kB / 387 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.2838, allocations: 146.4 kB / 387.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.2839, allocations: 2.438 kB / 387.1 MB, free: 6.461 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.2839, allocations: 46.48 kB / 387.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.2839, allocations: 0 / 387.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001985/0.2859, allocations: 0.9757 MB / 388.2 MB, free: 5.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.286, allocations: 80.39 kB / 388.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005349/0.2865, allocations: 384.9 kB / 388.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2865, allocations: 32.47 kB / 388.7 MB, free: 5.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.2868, allocations: 306.4 kB / 388.9 MB, free: 5.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.449e-05/0.2869, allocations: 118.6 kB / 389.1 MB, free: 5.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.287, allocations: 75.38 kB / 389.1 MB, free: 5.023 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.2871, allocations: 348.2 kB / 389.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.2873, allocations: 100 kB / 389.6 MB, free: 4.664 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.2877, allocations: 197.7 kB / 389.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.2882, allocations: 309.7 kB / 390.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2882, allocations: 1.219 kB / 390.1 MB, free: 4.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007791/0.289, allocations: 451.9 kB / 390.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.289, allocations: 6.531 kB / 390.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.289, allocations: 3.812 kB / 390.5 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003376/0.2893, allocations: 85.83 kB / 390.6 MB, free: 4.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.2897, allocations: 78.02 kB / 390.7 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.2917, allocations: 3.133 MB / 393.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.2921, allocations: 21.42 kB / 393.8 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.2921, allocations: 15.62 kB / 393.9 MB, free: 0.9766 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.0002502/0.2924, allocations: 173.5 kB / 394 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.2925, allocations: 53.95 kB / 394.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.46e-05/0.2925, allocations: 42.05 kB / 394.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.2926, allocations: 3.75 kB / 394.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.2926, allocations: 6.484 kB / 394.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2926, allocations: 2.219 kB / 394.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.2939, allocations: 0.9497 MB / 395.1 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2939, allocations: 1.312 kB / 395.1 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.2941, allocations: 43 kB / 395.1 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.2944, allocations: 84.94 kB / 395.2 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.2944, allocations: 7.5 kB / 395.2 MB, free: 112 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/0.2972, allocations: 3.122 MB / 398.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.2972, allocations: 9.125 kB / 398.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009805/0.2982, allocations: 0.6201 MB / 399 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.2984, allocations: 123.6 kB / 399.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.905e-05/0.2984, allocations: 6.719 kB / 399.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.2988, allocations: 31.55 kB / 399.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.058e-05/0.2989, allocations: 24.59 kB / 399.1 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.2989, allocations: 7.297 kB / 399.2 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003193/0.2992, allocations: 271.6 kB / 399.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2992, allocations: 0 / 399.4 MB, free: 12.37 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006543/0.2999, allocations: 123 kB / 399.5 MB, free: 12.36 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.001325/0.3012, allocations: 1.175 MB / 400.7 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009977/0.3022, allocations: 0.5089 MB / 401.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.3022, allocations: 1.531 kB / 401.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.3029, allocations: 392 kB / 401.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005176/0.3034, allocations: 59.67 kB / 401.7 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0059/0.3093, allocations: 4.196 MB / 405.9 MB, free: 8.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005437/0.3099, allocations: 0.8382 MB / 406.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002027/0.3101, allocations: 50.27 kB / 406.7 MB, free: 7.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.3103, allocations: 168.6 kB / 406.9 MB, free: 7.344 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3104, allocations: 3.938 kB / 406.9 MB, free: 7.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.3519, allocations: 8.997 MB / 415.9 MB, free: 3.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.842/10.19, allocations: 1.281 kB / 415.9 MB, free: 3.512 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 & /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