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.00146/0.00146, allocations: 110.5 kB / 17.06 MB, free: 6.117 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.001551/0.001551, allocations: 198.9 kB / 18 MB, free: 5.195 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.601/1.601, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 51.86 kB / 351.3 MB, free: 3.195 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4333, allocations: 49.43 MB / 400.8 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005112/0.4385, allocations: 4.096 MB / 404.8 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.4401, allocations: 0.8685 MB / 405.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.4403, allocations: 11.94 kB / 405.7 MB, free: 3.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.4405, allocations: 95.06 kB / 405.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003515/0.4409, allocations: 190.4 kB / 406 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.4413, allocations: 143.7 kB / 406.1 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006133/0.4419, allocations: 0.6693 MB / 406.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.4422, allocations: 215 kB / 407 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.4425, allocations: 251 kB / 407.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.4428, allocations: 286.7 kB / 407.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.8e-05/0.4429, allocations: 56 kB / 407.6 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.698e-05/0.443, allocations: 56 kB / 407.7 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.4431, allocations: 135.5 kB / 407.8 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002729/0.4434, allocations: 298.5 kB / 408.1 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.444, allocations: 0.6394 MB / 408.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.444, allocations: 0 / 408.7 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.444, allocations: 4 kB / 408.7 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4441, allocations: 0 / 408.7 MB, free: 0.8359 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.001492/0.4456, allocations: 0.8612 MB / 409.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.4456, allocations: 15.83 kB / 409.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.4458, allocations: 64.19 kB / 409.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005754/0.4463, allocations: 367.7 kB / 410 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.4464, allocations: 37.38 kB / 410.1 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.4465, allocations: 48.38 kB / 410.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008276/0.4473, allocations: 487.5 kB / 410.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4473, allocations: 0 / 410.6 MB, free: 14.88 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.4474, allocations: 24 kB / 410.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4474, allocations: 12 kB / 410.6 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006255/0.448, allocations: 332.3 kB / 410.9 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002564/0.4506, allocations: 1.677 MB / 412.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.4511, allocations: 261.1 kB / 412.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002508/0.4513, allocations: 149.8 kB / 413 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.4514, allocations: 11.94 kB / 413 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4514, allocations: 38.56 kB / 413.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.593e-06/0.4514, allocations: 0 / 413.1 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.00184/0.4533, allocations: 0.9492 MB / 414 MB, free: 11.22 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.4533, allocations: 81.11 kB / 414.1 MB, free: 11.12 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.4538, allocations: 381.6 kB / 414.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.4538, allocations: 29.7 kB / 414.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002148/0.454, allocations: 291.5 kB / 414.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.089e-05/0.4541, allocations: 110.4 kB / 414.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.4543, allocations: 78.06 kB / 415 MB, free: 10.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4544, allocations: 350.7 kB / 415.3 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.4547, allocations: 100.8 kB / 415.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.4549, allocations: 202.5 kB / 415.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004642/0.4554, allocations: 303.7 kB / 415.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4554, allocations: 0 / 415.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007775/0.4562, allocations: 451.3 kB / 416.4 MB, free: 8.758 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.4562, allocations: 11.12 kB / 416.4 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4563, allocations: 4 kB / 416.4 MB, free: 8.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003434/0.4566, allocations: 81.59 kB / 416.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003416/0.457, allocations: 79.89 kB / 416.5 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.4595, allocations: 3.127 MB / 419.6 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.4597, allocations: 19.91 kB / 419.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.4598, allocations: 16 kB / 419.7 MB, free: 5.145 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.0002022/0.46, allocations: 169.6 kB / 419.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.4601, allocations: 43.72 kB / 419.9 MB, free: 4.926 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.8e-05/0.4602, allocations: 47.53 kB / 419.9 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4602, allocations: 4 kB / 419.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4602, allocations: 7.938 kB / 420 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4602, allocations: 0 / 420 MB, free: 4.855 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.4615, allocations: 0.9387 MB / 420.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.4616, allocations: 0 / 420.9 MB, free: 3.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.4618, allocations: 47.91 kB / 420.9 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002652/0.462, allocations: 85.64 kB / 421 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.4621, allocations: 11.94 kB / 421 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/0.4646, allocations: 3.127 MB / 424.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4646, allocations: 0 / 424.2 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009473/0.4656, allocations: 0.6063 MB / 424.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.804e-05/0.4657, allocations: 120.6 kB / 424.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.101e-05/0.4658, allocations: 7.938 kB / 424.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003894/0.4662, allocations: 31.98 kB / 424.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/0.4662, allocations: 35.8 kB / 425 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.4663, allocations: 8 kB / 425 MB, free: 15.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003424/0.4666, allocations: 275.2 kB / 425.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4666, allocations: 0 / 425.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006226/0.4672, allocations: 116 kB / 425.3 MB, free: 15.08 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.0001713/0.4674, allocations: 115.1 kB / 425.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.4685, allocations: 0.505 MB / 426 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4685, allocations: 4 kB / 426 MB, free: 14.42 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006408/0.4691, allocations: 389.8 kB / 426.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.4697, allocations: 57.53 kB / 426.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.4716, allocations: 0.951 MB / 427.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.4721, allocations: 0.8353 MB / 428.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000172/0.4723, allocations: 47.23 kB / 428.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.4724, allocations: 27.44 kB / 428.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4724, allocations: 0 / 428.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of Templates: time 0.009784/0.4822, allocations: 4.757 MB / 433 MB, free: 7.328 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