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: translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 107.2 kB / 17.06 MB, free: 5.98 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.001711/0.001711, allocations: 198.8 kB / 18 MB, free: 5.059 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.669/1.669, allocations: 222.9 MB / 241.7 MB, free: 15.11 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 51.94 kB / 351.3 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.367, allocations: 49.43 MB / 400.8 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.004799/0.3718, allocations: 4.083 MB / 404.8 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.3732, allocations: 0.8762 MB / 405.7 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.3734, allocations: 8 kB / 405.7 MB, free: 3.895 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002082/0.3736, allocations: 91.08 kB / 405.8 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.374, allocations: 190.4 kB / 406 MB, free: 3.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.3743, allocations: 143.8 kB / 406.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.3749, allocations: 0.6693 MB / 406.8 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.3752, allocations: 207 kB / 407 MB, free: 2.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.3755, allocations: 262.9 kB / 407.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3758, allocations: 286.7 kB / 407.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.3758, allocations: 56 kB / 407.6 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.3759, allocations: 60 kB / 407.7 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.762e-05/0.376, allocations: 131.4 kB / 407.8 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.3763, allocations: 306.5 kB / 408.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.3768, allocations: 0.6355 MB / 408.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3768, allocations: 0 / 408.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3768, allocations: 0 / 408.7 MB, free: 0.875 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.3768, allocations: 0 / 408.7 MB, free: 0.875 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.001295/0.3781, allocations: 0.8612 MB / 409.6 MB, free: 15.96 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3782, allocations: 11.89 kB / 409.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.3783, allocations: 68.12 kB / 409.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.3787, allocations: 375.6 kB / 410 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.3788, allocations: 37.38 kB / 410.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.185e-05/0.3789, allocations: 48.38 kB / 410.1 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.3796, allocations: 483.5 kB / 410.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.3796, allocations: 0 / 410.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.3796, allocations: 20 kB / 410.6 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.3797, allocations: 16 kB / 410.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.3802, allocations: 336.3 kB / 410.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.3826, allocations: 1.674 MB / 412.6 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004283/0.383, allocations: 265.1 kB / 412.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.3832, allocations: 145.9 kB / 413 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3833, allocations: 4 kB / 413 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.3833, allocations: 38.56 kB / 413.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 3.005e-06/0.3833, allocations: 7.922 kB / 413.1 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00175/0.3851, allocations: 0.9583 MB / 414 MB, free: 11.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.3851, allocations: 81.11 kB / 414.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003812/0.3855, allocations: 385.6 kB / 414.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.3856, allocations: 29.7 kB / 414.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001651/0.3857, allocations: 283.5 kB / 414.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.948e-05/0.3858, allocations: 114.3 kB / 414.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3859, allocations: 70.14 kB / 415 MB, free: 10.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3861, allocations: 350.7 kB / 415.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002012/0.3863, allocations: 104.8 kB / 415.4 MB, free: 9.809 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000269/0.3866, allocations: 194.6 kB / 415.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.387, allocations: 307.3 kB / 415.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.387, allocations: 0 / 415.9 MB, free: 9.246 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008209/0.3879, allocations: 455.4 kB / 416.4 MB, free: 8.793 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.3879, allocations: 11.98 kB / 416.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3879, allocations: 0 / 416.4 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003268/0.3882, allocations: 81.81 kB / 416.4 MB, free: 8.695 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/0.3886, allocations: 79.84 kB / 416.5 MB, free: 8.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002799/0.3914, allocations: 3.119 MB / 419.6 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.3916, allocations: 23.89 kB / 419.7 MB, free: 5.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.3917, allocations: 16.06 kB / 419.7 MB, free: 5.184 MB / 334.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.000214/0.3919, allocations: 165.7 kB / 419.8 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.392, allocations: 39.53 kB / 419.9 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.3921, allocations: 47.47 kB / 419.9 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3921, allocations: 4 kB / 419.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3921, allocations: 7.875 kB / 419.9 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3921, allocations: 3.984 kB / 419.9 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.3935, allocations: 0.9286 MB / 420.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3935, allocations: 0 / 420.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.3937, allocations: 52.09 kB / 420.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.394, allocations: 93.62 kB / 421 MB, free: 3.758 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.806e-05/0.394, allocations: 11.98 kB / 421 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.3965, allocations: 3.119 MB / 424.1 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.3965, allocations: 16.03 kB / 424.2 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.3975, allocations: 0.6023 MB / 424.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.3977, allocations: 120.6 kB / 424.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.13e-05/0.3977, allocations: 11.94 kB / 424.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003366/0.3981, allocations: 31.97 kB / 424.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3982, allocations: 27.88 kB / 425 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.3982, allocations: 8 kB / 425 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002792/0.3985, allocations: 275.2 kB / 425.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3985, allocations: 4 kB / 425.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.3991, allocations: 116 kB / 425.3 MB, free: 15.11 MB / 350.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.0001488/0.3992, allocations: 111.1 kB / 425.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009106/0.4001, allocations: 0.5052 MB / 426 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4001, allocations: 0 / 426 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005626/0.4007, allocations: 392.4 kB / 426.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.4012, allocations: 58.06 kB / 426.4 MB, free: 14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.4033, allocations: 0.9664 MB / 427.4 MB, free: 13.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007083/0.4041, allocations: 0.8353 MB / 428.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002546/0.4043, allocations: 51.28 kB / 428.2 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.506e-05/0.4044, allocations: 27.44 kB / 428.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.4044, allocations: 0 / 428.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Templates: time 0.01206/0.4165, allocations: 4.744 MB / 433 MB, free: 7.367 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (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 & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/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