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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 143.7 kB / 24.97 MB, free: 8.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9443/0.9443, allocations: 173.4 MB / 201.5 MB, free: 9.355 MB / 186.7 MB " [Timeout remaining time 179] 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=50000,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=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 3.938 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.841e-05/1.99e-05, allocations: 6.25 kB / 268.1 MB, free: 6.715 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003872/0.003892, allocations: 4.03 MB / 272.1 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.005449, allocations: 0.8644 MB / 273 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00025/0.005699, allocations: 8 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.005913, allocations: 99 kB / 273.1 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.006199, allocations: 198.2 kB / 273.3 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.006513, allocations: 139.8 kB / 273.4 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.007021, allocations: 0.6963 MB / 274.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002174/0.007238, allocations: 139.6 kB / 274.3 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.007596, allocations: 403 kB / 274.7 MB, free: 120 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.007815, allocations: 215.3 kB / 274.9 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.436e-05/0.007879, allocations: 56 kB / 274.9 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.425e-05/0.007933, allocations: 56 kB / 275 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.358e-05/0.008007, allocations: 135.4 kB / 275.1 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.008153, allocations: 215.4 kB / 275.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.00851, allocations: 434.4 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.008512, allocations: 3.938 kB / 275.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.008513, allocations: 0 / 275.8 MB, free: 15.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.008519, allocations: 0 / 275.8 MB, free: 15.02 MB / 266.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.001138/0.009657, allocations: 0.893 MB / 276.6 MB, free: 14.09 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.009692, allocations: 12.03 kB / 276.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.009815, allocations: 108.5 kB / 276.8 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.01015, allocations: 308.2 kB / 277.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.01018, allocations: 37.38 kB / 277.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.01024, allocations: 56.33 kB / 277.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005019/0.01074, allocations: 0.5422 MB / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01075, allocations: 192 / 277.7 MB, free: 12.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.01078, allocations: 20.38 kB / 277.7 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.0108, allocations: 15.94 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.01106, allocations: 182.7 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01256, allocations: 1.582 MB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.01283, allocations: 226 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01293, allocations: 98.83 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.01295, allocations: 4 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.01298, allocations: 41.39 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.01298, allocations: 3.984 kB / 279.9 MB, free: 10.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001039/0.01402, allocations: 0.7014 MB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.01405, allocations: 81.11 kB / 280.6 MB, free: 9.812 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.01433, allocations: 406.6 kB / 281 MB, free: 9.398 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01435, allocations: 33.7 kB / 281.1 MB, free: 9.359 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01449, allocations: 334.9 kB / 281.4 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.01455, allocations: 119 kB / 281.5 MB, free: 8.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.581e-05/0.01464, allocations: 83.8 kB / 281.6 MB, free: 8.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.01476, allocations: 0.5196 MB / 282.1 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.457e-05/0.01484, allocations: 52.97 kB / 282.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01498, allocations: 185.1 kB / 282.3 MB, free: 8.008 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.01521, allocations: 259.3 kB / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.01521, allocations: 0 / 282.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005552/0.01577, allocations: 375.3 kB / 283 MB, free: 7.328 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01578, allocations: 10.34 kB / 283 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01579, allocations: 0 / 283 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.01612, allocations: 111.5 kB / 283.1 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.01629, allocations: 79.91 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.01792, allocations: 3.858 MB / 287 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.01805, allocations: 19.95 kB / 287 MB, free: 3.004 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.01806, allocations: 16 kB / 287.1 MB, free: 2.988 MB / 266.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 (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.0001113/0.01818, allocations: 184.3 kB / 287.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.01824, allocations: 55.75 kB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.395e-05/0.01827, allocations: 39.27 kB / 287.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.01827, allocations: 4 kB / 287.3 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.01828, allocations: 4 kB / 287.3 MB, free: 2.699 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01828, allocations: 4.031 kB / 287.3 MB, free: 2.695 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.019, allocations: 0.8121 MB / 288.2 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.019, allocations: 0 / 288.2 MB, free: 1.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.187e-05/0.01909, allocations: 51.91 kB / 288.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.01935, allocations: 107.2 kB / 288.3 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.01937, allocations: 11.98 kB / 288.3 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.021, allocations: 3.862 MB / 292.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02101, allocations: 160 / 292.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.02146, allocations: 0.6 MB / 292.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.0215, allocations: 39.69 kB / 292.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.02153, allocations: 8 kB / 292.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.02168, allocations: 27.98 kB / 292.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.02174, allocations: 27.89 kB / 292.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.02175, allocations: 15.98 kB / 292.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.02191, allocations: 271.1 kB / 293.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02191, allocations: 0 / 293.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.02225, allocations: 112 kB / 293.3 MB, free: 12.43 MB / 282.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 (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 9.454e-05/0.02235, allocations: 115.2 kB / 293.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000489/0.02284, allocations: 0.5497 MB / 293.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.02284, allocations: 0 / 293.9 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002992/0.02314, allocations: 467.2 kB / 294.4 MB, free: 11.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.02345, allocations: 62.2 kB / 294.5 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02463, allocations: 0.8834 MB / 295.3 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.233e-05/0.0247, allocations: 117.9 kB / 295.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.976e-05/0.0248, allocations: 47.25 kB / 295.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.02486, allocations: 28.5 kB / 295.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02486, allocations: 0 / 295.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of Templates: time 0.006639/0.0315, allocations: 4.538 MB / 300.1 MB, free: 5.559 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1487817279994488]