Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 175.2 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.9 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008963/0.0008964, allocations: 91.77 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003983, allocations: 16 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2901, allocations: 47.58 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003734/0.2939, allocations: 3.473 MB / 378.6 MB, free: 42.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002121/0.2961, allocations: 0.8876 MB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004214/0.2966, allocations: 7.438 kB / 379.5 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.2968, allocations: 64.55 kB / 379.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004494/0.2973, allocations: 161.4 kB / 379.7 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.2976, allocations: 92.27 kB / 379.8 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000806/0.2984, allocations: 0.6288 MB / 380.4 MB, free: 41.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00038/0.2988, allocations: 170.6 kB / 380.6 MB, free: 41.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.2993, allocations: 221.2 kB / 380.8 MB, free: 41.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003462/0.2996, allocations: 250.9 kB / 381 MB, free: 40.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.2997, allocations: 35.06 kB / 381.1 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.246e-05/0.2998, allocations: 32.22 kB / 381.1 MB, free: 40.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.434e-05/0.2999, allocations: 102 kB / 381.2 MB, free: 40.82 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002916/0.3002, allocations: 282.2 kB / 381.5 MB, free: 40.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.3007, allocations: 474.5 kB / 381.9 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.348e-06/0.3007, allocations: 0 / 381.9 MB, free: 40.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.476e-06/0.3007, allocations: 1.094 kB / 381.9 MB, free: 40.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3008, allocations: 0 / 381.9 MB, free: 40.27 MB / 298.7 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.001433/0.3022, allocations: 0.7827 MB / 382.7 MB, free: 39.64 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.3023, allocations: 8.656 kB / 382.7 MB, free: 39.64 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.3024, allocations: 69.14 kB / 382.8 MB, free: 39.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.3029, allocations: 362.5 kB / 383.2 MB, free: 39.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.303, allocations: 38.22 kB / 383.2 MB, free: 39.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.213e-05/0.3031, allocations: 48.28 kB / 383.2 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.3039, allocations: 488 kB / 383.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.304, allocations: 0.9688 kB / 383.7 MB, free: 38.94 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.304, allocations: 25.28 kB / 383.7 MB, free: 38.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.3041, allocations: 11.53 kB / 383.8 MB, free: 38.92 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000687/0.3047, allocations: 333.4 kB / 384.1 MB, free: 38.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0029/0.3077, allocations: 1.718 MB / 385.8 MB, free: 37.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005619/0.3083, allocations: 265.1 kB / 386.1 MB, free: 37.24 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.3085, allocations: 152.8 kB / 386.2 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.3086, allocations: 10.89 kB / 386.2 MB, free: 37.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3086, allocations: 41.34 kB / 386.3 MB, free: 37.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/0.3086, allocations: 3.938 kB / 386.3 MB, free: 37.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002079/0.3107, allocations: 0.9658 MB / 387.2 MB, free: 36.23 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.369e-05/0.3107, allocations: 81.11 kB / 387.3 MB, free: 36.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.3111, allocations: 385.5 kB / 387.7 MB, free: 35.75 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.3111, allocations: 29.7 kB / 387.7 MB, free: 35.71 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.3113, allocations: 287.5 kB / 388 MB, free: 35.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.477e-05/0.3113, allocations: 114.3 kB / 388.1 MB, free: 35.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.3114, allocations: 8 kB / 388.1 MB, free: 35.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.3115, allocations: 350.7 kB / 388.4 MB, free: 34.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3117, allocations: 104.8 kB / 388.6 MB, free: 34.85 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002119/0.3119, allocations: 202.6 kB / 388.7 MB, free: 34.62 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003955/0.3123, allocations: 311.9 kB / 389.1 MB, free: 34.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3123, allocations: 0 / 389.1 MB, free: 34.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007325/0.313, allocations: 461.5 kB / 389.5 MB, free: 33.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3131, allocations: 8 kB / 389.5 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3131, allocations: 4 kB / 389.5 MB, free: 33.81 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003317/0.3134, allocations: 81.69 kB / 389.6 MB, free: 33.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.3137, allocations: 83.89 kB / 389.7 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/0.3156, allocations: 2.845 MB / 392.5 MB, free: 30.53 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003376/0.3159, allocations: 19.98 kB / 392.5 MB, free: 30.51 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.316, allocations: 16 kB / 392.6 MB, free: 30.5 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.3162, allocations: 173.7 kB / 392.7 MB, free: 30.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/0.3163, allocations: 43.53 kB / 392.8 MB, free: 30.27 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.458e-05/0.3163, allocations: 43.47 kB / 392.8 MB, free: 30.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3163, allocations: 4 kB / 392.8 MB, free: 30.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3164, allocations: 0 / 392.8 MB, free: 30.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.3164, allocations: 7.984 kB / 392.8 MB, free: 30.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/0.3175, allocations: 0.946 MB / 393.8 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3176, allocations: 192 / 393.8 MB, free: 29.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.3177, allocations: 55.86 kB / 393.8 MB, free: 29.15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002566/0.318, allocations: 85.62 kB / 393.9 MB, free: 29.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.318, allocations: 11.98 kB / 393.9 MB, free: 29.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.3198, allocations: 2.845 MB / 396.8 MB, free: 25.94 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3198, allocations: 192 / 396.8 MB, free: 25.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.3206, allocations: 0.6308 MB / 397.4 MB, free: 25.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.3208, allocations: 116.6 kB / 397.5 MB, free: 25.15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.3208, allocations: 15.94 kB / 397.5 MB, free: 25.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.3211, allocations: 35.98 kB / 397.6 MB, free: 25.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.047e-05/0.3212, allocations: 23.95 kB / 397.6 MB, free: 25.08 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.3213, allocations: 8 kB / 397.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002468/0.3215, allocations: 271.2 kB / 397.9 MB, free: 24.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3215, allocations: 0 / 397.9 MB, free: 24.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005794/0.3221, allocations: 119.9 kB / 398 MB, free: 24.69 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001701/0.3223, allocations: 115.2 kB / 398.1 MB, free: 24.57 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008861/0.3232, allocations: 0.5093 MB / 398.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3232, allocations: 0 / 398.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005161/0.3237, allocations: 388.6 kB / 399 MB, free: 23.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006032/0.3243, allocations: 69.67 kB / 399 MB, free: 23.56 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.3259, allocations: 1.197 MB / 400.2 MB, free: 22.33 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.3262, allocations: 0.8353 MB / 401.1 MB, free: 21.46 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.3263, allocations: 31.44 kB / 401.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3263, allocations: 0 / 401.1 MB, free: 21.43 MB / 298.7 MB Notification: Performance of Templates: time 0.009454/0.3358, allocations: 8.822 MB / 409.9 MB, free: 12.61 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches