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.0009987/0.0009987, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001234/0.001234, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9669/0.9669, allocations: 177.1 MB / 205 MB, free: 5.609 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.894e-06/1.894e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.107e-05, allocations: 6.312 kB / 273 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003746/0.003767, allocations: 4.061 MB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.005218, allocations: 0.9423 MB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.005419, allocations: 11.94 kB / 278 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001924/0.005612, allocations: 103.1 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.005898, allocations: 194.2 kB / 278.3 MB, free: 12.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.006244, allocations: 159.7 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.006734, allocations: 0.7002 MB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002012/0.006935, allocations: 131.7 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000374/0.007309, allocations: 403 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.007535, allocations: 223.3 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.007593, allocations: 52 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.007685, allocations: 60 kB / 280 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.935e-05/0.007755, allocations: 131.4 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.007896, allocations: 215.4 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003657/0.008262, allocations: 454.3 kB / 280.8 MB, free: 9.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.008264, allocations: 4 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.008265, allocations: 0 / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.008271, allocations: 0 / 280.8 MB, free: 9.641 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.000884/0.009155, allocations: 0.9046 MB / 281.7 MB, free: 8.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.009192, allocations: 8.031 kB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.009395, allocations: 124.5 kB / 281.9 MB, free: 8.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003293/0.009724, allocations: 316.2 kB / 282.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.009755, allocations: 37.38 kB / 282.2 MB, free: 8.195 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.009808, allocations: 56.33 kB / 282.3 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004763/0.01028, allocations: 0.5461 MB / 282.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.0103, allocations: 192 / 282.8 MB, free: 7.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.01033, allocations: 24.31 kB / 282.8 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.01034, allocations: 15.94 kB / 282.8 MB, free: 7.504 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.0106, allocations: 182.8 kB / 283 MB, free: 7.324 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.01233, allocations: 1.574 MB / 284.6 MB, free: 5.664 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.0126, allocations: 230 kB / 284.8 MB, free: 5.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.0127, allocations: 107.3 kB / 284.9 MB, free: 5.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.01272, allocations: 8 kB / 284.9 MB, free: 5.297 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.01275, allocations: 49.39 kB / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.573e-06/0.01275, allocations: 0 / 285 MB, free: 5.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001023/0.01377, allocations: 0.7031 MB / 285.7 MB, free: 4.492 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.0138, allocations: 81.11 kB / 285.8 MB, free: 4.395 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.01407, allocations: 406.6 kB / 286.2 MB, free: 3.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.01409, allocations: 37.7 kB / 286.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.01423, allocations: 342.8 kB / 286.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.718e-05/0.0143, allocations: 119 kB / 286.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.432e-05/0.01437, allocations: 75.86 kB / 286.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.0145, allocations: 0.5196 MB / 287.2 MB, free: 2.867 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.01458, allocations: 52.97 kB / 287.3 MB, free: 2.816 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.01471, allocations: 177.2 kB / 287.5 MB, free: 2.59 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.01494, allocations: 270.6 kB / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01494, allocations: 0 / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004113/0.01535, allocations: 372.4 kB / 288.1 MB, free: 1.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01537, allocations: 8 kB / 288.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01537, allocations: 0 / 288.1 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.01569, allocations: 107.4 kB / 288.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.01587, allocations: 75.84 kB / 288.3 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001925/0.01779, allocations: 3.858 MB / 292.1 MB, free: 13.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.01791, allocations: 23.89 kB / 292.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.01793, allocations: 16 kB / 292.2 MB, free: 13.56 MB / 282.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.0001065/0.01804, allocations: 184.6 kB / 292.4 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.721e-05/0.01809, allocations: 47.77 kB / 292.4 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.105e-05/0.01813, allocations: 43.28 kB / 292.4 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.01813, allocations: 4 kB / 292.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.01813, allocations: 7.938 kB / 292.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.01814, allocations: 3.938 kB / 292.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007245/0.01886, allocations: 0.8315 MB / 293.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01886, allocations: 0 / 293.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.01895, allocations: 35.98 kB / 293.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/0.01922, allocations: 115.2 kB / 293.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.01923, allocations: 7.984 kB / 293.4 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.0207, allocations: 3.855 MB / 297.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0207, allocations: 0 / 297.3 MB, free: 8.129 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007228/0.02142, allocations: 0.5969 MB / 297.9 MB, free: 7.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.02146, allocations: 47.72 kB / 297.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.02149, allocations: 12 kB / 298 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.02164, allocations: 23.98 kB / 298 MB, free: 7.422 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.02169, allocations: 23.95 kB / 298 MB, free: 7.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.02171, allocations: 16.17 kB / 298 MB, free: 7.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.02188, allocations: 271.1 kB / 298.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02188, allocations: 0 / 298.3 MB, free: 7.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.02224, allocations: 116 kB / 298.4 MB, free: 7.004 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.548e-05/0.02234, allocations: 119.2 kB / 298.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005193/0.02286, allocations: 0.5454 MB / 299.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.02286, allocations: 0 / 299.1 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.02318, allocations: 471.2 kB / 299.5 MB, free: 5.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004457/0.02363, allocations: 49.42 kB / 299.6 MB, free: 5.75 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.02497, allocations: 0.8988 MB / 300.5 MB, free: 4.812 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.166e-05/0.02506, allocations: 109.9 kB / 300.6 MB, free: 4.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001191/0.02518, allocations: 47.25 kB / 300.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.322e-05/0.02525, allocations: 28.5 kB / 300.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02525, allocations: 0 / 300.6 MB, free: 4.609 MB / 282.7 MB Notification: Performance of Templates: time 0.09229/0.1175, allocations: 4.721 MB / 305.4 MB, free: 39.51 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.147764034103602]