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.001379/0.001379, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.567/1.567, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000852/0.000852, allocations: 89.48 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2504, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.00375/0.2543, allocations: 3.478 MB / 378 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002129/0.2564, allocations: 0.8841 MB / 378.9 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003998/0.2569, allocations: 8 kB / 378.9 MB, free: 41.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.2571, allocations: 72.31 kB / 379 MB, free: 41.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.2575, allocations: 145.3 kB / 379.1 MB, free: 41.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.2578, allocations: 112.5 kB / 379.2 MB, free: 41.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.2584, allocations: 0.6152 MB / 379.9 MB, free: 41.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002918/0.2587, allocations: 151.2 kB / 380 MB, free: 41.18 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2591, allocations: 224.4 kB / 380.2 MB, free: 41.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.2594, allocations: 255.3 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.3e-05/0.2595, allocations: 31.06 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.2596, allocations: 32 kB / 380.5 MB, free: 40.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.914e-05/0.2597, allocations: 93.17 kB / 380.6 MB, free: 40.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.2598, allocations: 129.5 kB / 380.8 MB, free: 40.73 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.2602, allocations: 470.5 kB / 381.2 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.2603, allocations: 0 / 381.2 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2603, allocations: 0 / 381.2 MB, free: 40.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.2603, allocations: 3.938 kB / 381.2 MB, free: 40.38 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.001461/0.2618, allocations: 0.7924 MB / 382 MB, free: 39.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2618, allocations: 8.625 kB / 382 MB, free: 39.74 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.262, allocations: 64.22 kB / 382.1 MB, free: 39.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004522/0.2624, allocations: 350.5 kB / 382.4 MB, free: 39.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.2625, allocations: 40.61 kB / 382.5 MB, free: 39.37 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.808e-05/0.2626, allocations: 47.25 kB / 382.5 MB, free: 39.35 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/0.2634, allocations: 488.4 kB / 383 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2634, allocations: 1.688 kB / 383 MB, free: 39.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.491e-05/0.2635, allocations: 16.44 kB / 383 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.2635, allocations: 11.69 kB / 383 MB, free: 39.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.2642, allocations: 341.1 kB / 383.3 MB, free: 38.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002773/0.267, allocations: 1.719 MB / 385.1 MB, free: 37.51 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.2676, allocations: 262.3 kB / 385.3 MB, free: 37.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002719/0.2679, allocations: 152.2 kB / 385.5 MB, free: 37.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.218e-05/0.268, allocations: 3.062 kB / 385.5 MB, free: 37.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.268, allocations: 38.03 kB / 385.5 MB, free: 37.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.986e-06/0.268, allocations: 0 / 385.5 MB, free: 37.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.002246/0.2703, allocations: 0.9736 MB / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.2703, allocations: 80.39 kB / 386.6 MB, free: 36.42 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003914/0.2707, allocations: 389.3 kB / 386.9 MB, free: 36.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.2708, allocations: 29.7 kB / 387 MB, free: 36.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.2709, allocations: 287.5 kB / 387.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.2709, allocations: 110.4 kB / 387.4 MB, free: 35.66 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.271, allocations: 8 kB / 387.4 MB, free: 35.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.2711, allocations: 354.8 kB / 387.7 MB, free: 35.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.2713, allocations: 100.8 kB / 387.8 MB, free: 35.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2715, allocations: 198.7 kB / 388 MB, free: 34.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.2717, allocations: 144.1 kB / 388.1 MB, free: 34.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2717, allocations: 0 / 388.1 MB, free: 34.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006986/0.2724, allocations: 449 kB / 388.6 MB, free: 34.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2725, allocations: 4 kB / 388.6 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.2725, allocations: 4 kB / 388.6 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.2728, allocations: 85.77 kB / 388.7 MB, free: 34.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.2732, allocations: 87.83 kB / 388.8 MB, free: 34.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/0.275, allocations: 2.849 MB / 391.6 MB, free: 31.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.2754, allocations: 23.98 kB / 391.6 MB, free: 31.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.2755, allocations: 16 kB / 391.7 MB, free: 31.05 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.0002574/0.2757, allocations: 165.7 kB / 391.8 MB, free: 30.88 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.2758, allocations: 43.47 kB / 391.9 MB, free: 30.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.2759, allocations: 43.47 kB / 391.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.2759, allocations: 4 kB / 391.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.2759, allocations: 4 kB / 391.9 MB, free: 30.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2759, allocations: 3.984 kB / 391.9 MB, free: 30.78 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.2771, allocations: 0.9429 MB / 392.9 MB, free: 29.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.2771, allocations: 4 kB / 392.9 MB, free: 29.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.2773, allocations: 51.86 kB / 392.9 MB, free: 29.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002643/0.2776, allocations: 85.58 kB / 393 MB, free: 29.63 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.2776, allocations: 11.98 kB / 393 MB, free: 29.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001613/0.2793, allocations: 2.853 MB / 395.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2793, allocations: 0 / 395.9 MB, free: 26.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008399/0.2801, allocations: 0.6309 MB / 396.5 MB, free: 25.85 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.2803, allocations: 120.5 kB / 396.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.2803, allocations: 8 kB / 396.6 MB, free: 25.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.2807, allocations: 35.98 kB / 396.6 MB, free: 25.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.011e-05/0.2808, allocations: 31.89 kB / 396.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.2808, allocations: 4 kB / 396.7 MB, free: 25.64 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002402/0.281, allocations: 267.2 kB / 396.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.12e-07/0.281, allocations: 0 / 396.9 MB, free: 25.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006063/0.2816, allocations: 128 kB / 397.1 MB, free: 25.25 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.0001436/0.2818, allocations: 107.2 kB / 397.2 MB, free: 25.13 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007844/0.2826, allocations: 0.5128 MB / 397.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2826, allocations: 0 / 397.7 MB, free: 24.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.2831, allocations: 389.7 kB / 398.1 MB, free: 24.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005836/0.2837, allocations: 69.42 kB / 398.1 MB, free: 24.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.2853, allocations: 1.208 MB / 399.3 MB, free: 22.88 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2856, allocations: 0.8353 MB / 400.2 MB, free: 22.01 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.066e-05/0.2857, allocations: 31.44 kB / 400.2 MB, free: 21.98 MB / 298.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2857, allocations: 0 / 400.2 MB, free: 21.98 MB / 298.7 MB Notification: Performance of Templates: time 0.009268/0.2949, allocations: 8.818 MB / 409 MB, free: 13.16 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