Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.42/1.42, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 55.92 kB / 378.5 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2742, allocations: 53.34 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005314/0.2795, allocations: 3.719 MB / 435.6 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2813, allocations: 0.923 MB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001971/0.2815, allocations: 15.94 kB / 436.5 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.2817, allocations: 95.06 kB / 436.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003391/0.2821, allocations: 182.4 kB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.2825, allocations: 163.7 kB / 437 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006992/0.2832, allocations: 0.6809 MB / 437.7 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002698/0.2834, allocations: 143.7 kB / 437.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003667/0.2838, allocations: 271 kB / 438.1 MB, free: 436 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003531/0.2842, allocations: 290.6 kB / 438.3 MB, free: 144 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.816e-05/0.2842, allocations: 56 kB / 438.4 MB, free: 88 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.2844, allocations: 56 kB / 438.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.2845, allocations: 127.5 kB / 438.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.2848, allocations: 266.7 kB / 438.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007139/0.2855, allocations: 0.6543 MB / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2855, allocations: 0 / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.2855, allocations: 0 / 439.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.665e-06/0.2855, allocations: 0 / 439.5 MB, free: 14.99 MB / 350.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.001445/0.2869, allocations: 0.8086 MB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.287, allocations: 8.031 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.107e-05/0.287, allocations: 25.48 kB / 440.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001434/0.2872, allocations: 111.9 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/0.2875, allocations: 96.48 kB / 440.5 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005732/0.2881, allocations: 322 kB / 440.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.2881, allocations: 45.69 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/0.2882, allocations: 56.38 kB / 440.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/0.2892, allocations: 0.6697 MB / 441.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.147e-05/0.2892, allocations: 7.953 kB / 441.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.847e-05/0.2893, allocations: 24 kB / 441.7 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.2893, allocations: 19.98 kB / 441.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006778/0.29, allocations: 365 kB / 442 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002701/0.2927, allocations: 1.596 MB / 443.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005834/0.2932, allocations: 321.7 kB / 443.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.2935, allocations: 179.6 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.2936, allocations: 4.375 kB / 444.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.2936, allocations: 46.36 kB / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 2.074e-06/0.2936, allocations: 0 / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.003896/0.2975, allocations: 1.678 MB / 445.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.2976, allocations: 89.05 kB / 445.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.298, allocations: 389.6 kB / 446.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.298, allocations: 37.7 kB / 446.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.2982, allocations: 292.9 kB / 446.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.2984, allocations: 214.1 kB / 446.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001658/0.2986, allocations: 114.3 kB / 447 MB, free: 7.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2987, allocations: 358.8 kB / 447.3 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.299, allocations: 157.2 kB / 447.5 MB, free: 6.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.2994, allocations: 265 kB / 447.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007173/0.3002, allocations: 457.1 kB / 448.2 MB, free: 5.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3002, allocations: 4 kB / 448.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001072/0.3012, allocations: 0.5932 MB / 448.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.3013, allocations: 8 kB / 448.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.3013, allocations: 0 / 448.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003211/0.3016, allocations: 85.91 kB / 448.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004885/0.3021, allocations: 135.8 kB / 449 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002666/0.3047, allocations: 2.9 MB / 451.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.3051, allocations: 27.98 kB / 451.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.3051, allocations: 20.22 kB / 451.9 MB, free: 1.887 MB / 350.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 (73): * Single equations (assignments): 71 * 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.0002571/0.3054, allocations: 177.7 kB / 452.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.859e-05/0.3055, allocations: 47.72 kB / 452.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.3056, allocations: 60.25 kB / 452.2 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.3056, allocations: 7.938 kB / 452.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3056, allocations: 7.984 kB / 452.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.3056, allocations: 0 / 452.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.3076, allocations: 1.187 MB / 453.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3076, allocations: 192 / 453.4 MB, free: 340 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000403/0.308, allocations: 107.8 kB / 453.5 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000274/0.3083, allocations: 81.72 kB / 453.6 MB, free: 144 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.755e-05/0.3083, allocations: 12 kB / 453.6 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/0.3109, allocations: 2.869 MB / 456.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3109, allocations: 3.984 kB / 456.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/0.3124, allocations: 0.8828 MB / 457.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.3125, allocations: 51.7 kB / 457.4 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.3125, allocations: 12 kB / 457.4 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.3129, allocations: 39.97 kB / 457.5 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.963e-05/0.313, allocations: 47.8 kB / 457.5 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.28e-05/0.3131, allocations: 20 kB / 457.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000319/0.3134, allocations: 275.2 kB / 457.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3134, allocations: 0 / 457.8 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000645/0.314, allocations: 148 kB / 457.9 MB, free: 11.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 ($outputAlias_i2I,$outputAlias_i1B,$outputAlias_i2B) * 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 (54): * Single equations (assignments): 52 * 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.001799/0.3158, allocations: 1.438 MB / 459.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.3171, allocations: 0.6536 MB / 460 MB, free: 9.383 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3171, allocations: 4 kB / 460 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.3178, allocations: 453.1 kB / 460.5 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.3184, allocations: 73.84 kB / 460.6 MB, free: 8.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007373/0.3258, allocations: 4.861 MB / 465.4 MB, free: 3.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.3261, allocations: 269 kB / 465.7 MB, free: 3.504 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002603/0.3264, allocations: 64.58 kB / 465.7 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.3266, allocations: 207.4 kB / 465.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of SimCode: time 1.253e-06/0.3266, allocations: 0 / 465.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/0.3689, allocations: 11.09 MB / 477 MB, free: 8.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.31, allocations: 2.406 kB / 477 MB, free: 8.395 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 18.793097438989207]