Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009762/0.0009762, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 169.1 kB / 24.91 MB, free: 9.191 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9353/0.9353, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 273.5 MB, free: 1.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.364e-05, allocations: 2.312 kB / 273.5 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003382/0.003395, allocations: 4.005 MB / 277.5 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005012, allocations: 0.9848 MB / 278.5 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000183/0.005195, allocations: 11.94 kB / 278.5 MB, free: 12.24 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001715/0.005366, allocations: 95.06 kB / 278.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.005628, allocations: 198.2 kB / 278.8 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.005938, allocations: 159.7 kB / 278.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000465/0.006403, allocations: 0.6963 MB / 279.6 MB, free: 11.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/0.006584, allocations: 148.3 kB / 279.8 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003562/0.00694, allocations: 403 kB / 280.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.00714, allocations: 223.3 kB / 280.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.482e-05/0.007195, allocations: 56 kB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.942e-05/0.007274, allocations: 56 kB / 280.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.007342, allocations: 131.4 kB / 280.6 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.007475, allocations: 219.4 kB / 280.8 MB, free: 9.875 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.007825, allocations: 446.3 kB / 281.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.007827, allocations: 0 / 281.3 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.007829, allocations: 4 kB / 281.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.007834, allocations: 0 / 281.3 MB, free: 9.434 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.0008161/0.00865, allocations: 0.776 MB / 282.1 MB, free: 8.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.008679, allocations: 12.03 kB / 282.1 MB, free: 8.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001725/0.008851, allocations: 100.9 kB / 282.2 MB, free: 8.523 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.009111, allocations: 261.4 kB / 282.4 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.009136, allocations: 41.38 kB / 282.5 MB, free: 8.199 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.009191, allocations: 56.3 kB / 282.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.00955, allocations: 0.5104 MB / 283 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.009561, allocations: 192 / 283 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.009586, allocations: 24.38 kB / 283 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.009599, allocations: 19.94 kB / 283.1 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001451/0.009744, allocations: 120 kB / 283.2 MB, free: 7.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.01096, allocations: 1.216 MB / 284.4 MB, free: 6.148 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.01115, allocations: 188.9 kB / 284.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.73e-05/0.01122, allocations: 73.67 kB / 284.7 MB, free: 5.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.01124, allocations: 8 kB / 284.7 MB, free: 5.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.01126, allocations: 38.5 kB / 284.7 MB, free: 5.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.412e-06/0.01126, allocations: 4 kB / 284.7 MB, free: 5.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007296/0.01199, allocations: 485.8 kB / 285.2 MB, free: 5.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.01202, allocations: 81.11 kB / 285.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.01221, allocations: 331.2 kB / 285.6 MB, free: 4.867 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.01223, allocations: 33.7 kB / 285.6 MB, free: 4.828 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.01233, allocations: 260.7 kB / 285.9 MB, free: 4.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.529e-05/0.01238, allocations: 119 kB / 286 MB, free: 4.449 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.895e-05/0.01245, allocations: 82.05 kB / 286.1 MB, free: 4.363 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.442e-05/0.01254, allocations: 354.7 kB / 286.4 MB, free: 4.008 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.667e-05/0.01258, allocations: 36.98 kB / 286.4 MB, free: 3.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.01268, allocations: 139.2 kB / 286.6 MB, free: 3.797 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001627/0.01284, allocations: 212.1 kB / 286.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01284, allocations: 0 / 286.8 MB, free: 3.559 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0002811/0.01312, allocations: 266.8 kB / 287.1 MB, free: 3.285 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01314, allocations: 4.312 kB / 287.1 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.01314, allocations: 8 kB / 287.1 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002761/0.01342, allocations: 105.5 kB / 287.2 MB, free: 3.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.01357, allocations: 71.91 kB / 287.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.01487, allocations: 2.596 MB / 289.8 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.01498, allocations: 12 kB / 289.8 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.01499, allocations: 15.94 kB / 289.9 MB, free: 308 kB / 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,1,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.198e-05/0.01508, allocations: 137.7 kB / 290 MB, free: 160 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.794e-05/0.01513, allocations: 44.08 kB / 290 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.088e-05/0.01516, allocations: 43.3 kB / 290.1 MB, free: 72 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.01516, allocations: 7.984 kB / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01517, allocations: 0 / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01517, allocations: 0 / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.01573, allocations: 0.558 MB / 290.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01573, allocations: 64 / 290.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.899e-05/0.01582, allocations: 51.91 kB / 290.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/0.01605, allocations: 97.61 kB / 290.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01606, allocations: 15.98 kB / 290.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.01718, allocations: 2.593 MB / 293.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.01718, allocations: 4 kB / 293.4 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.01749, allocations: 433.5 kB / 293.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.592e-05/0.01753, allocations: 35.75 kB / 293.9 MB, free: 12.06 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.01755, allocations: 7.938 kB / 293.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001423/0.01769, allocations: 32.02 kB / 293.9 MB, free: 12.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.01774, allocations: 27.94 kB / 293.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.01775, allocations: 15.97 kB / 293.9 MB, free: 11.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.439e-05/0.01784, allocations: 136.7 kB / 294.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01784, allocations: 0 / 294.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.01815, allocations: 116 kB / 294.2 MB, free: 11.73 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 8.705e-05/0.01824, allocations: 96.36 kB / 294.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003487/0.01859, allocations: 416.7 kB / 294.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.879e-06/0.0186, allocations: 4 kB / 294.7 MB, free: 11.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.01883, allocations: 346.5 kB / 295 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.01908, allocations: 52.39 kB / 295.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.02018, allocations: 0.8473 MB / 295.9 MB, free: 9.887 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.033e-05/0.02025, allocations: 117.9 kB / 296 MB, free: 9.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.035e-05/0.02034, allocations: 39.27 kB / 296.1 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.02048, allocations: 127.3 kB / 296.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02048, allocations: 0 / 296.2 MB, free: 9.586 MB / 282.7 MB Notification: Performance of Templates: time 0.008057/0.02854, allocations: 4.743 MB / 301 MB, free: 4.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0106404800899327]