Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009675/0.0009675, allocations: 83.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 157.1 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9848/0.9848, allocations: 177 MB / 205.2 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 273 MB, free: 1.691 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.749e-05, allocations: 2.312 kB / 273 MB, free: 1.688 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003766/0.003784, allocations: 4.076 MB / 277.1 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.005157, allocations: 0.9384 MB / 278 MB, free: 12.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.005338, allocations: 11.94 kB / 278 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.005532, allocations: 99.06 kB / 278.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.005773, allocations: 190.2 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003253/0.006098, allocations: 163.7 kB / 278.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004749/0.006573, allocations: 0.7002 MB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.006812, allocations: 139.7 kB / 279.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.007205, allocations: 406.9 kB / 279.7 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.007419, allocations: 219.3 kB / 279.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.974e-05/0.007478, allocations: 56 kB / 280 MB, free: 10.67 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.838e-05/0.007567, allocations: 56 kB / 280 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.459e-05/0.007641, allocations: 131.4 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.007797, allocations: 219.4 kB / 280.4 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004072/0.008205, allocations: 442.3 kB / 280.8 MB, free: 9.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.008211, allocations: 12 kB / 280.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.008212, allocations: 0 / 280.8 MB, free: 9.824 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.008217, allocations: 0 / 280.8 MB, free: 9.824 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.0009473/0.009165, allocations: 0.8969 MB / 281.7 MB, free: 8.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.009205, allocations: 15.98 kB / 281.7 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002149/0.00942, allocations: 120.5 kB / 281.9 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/0.009785, allocations: 320.2 kB / 282.2 MB, free: 8.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.009815, allocations: 37.38 kB / 282.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.852e-05/0.009873, allocations: 60.33 kB / 282.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005673/0.01044, allocations: 0.5422 MB / 282.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.01045, allocations: 192 / 282.8 MB, free: 7.723 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.01049, allocations: 24.38 kB / 282.8 MB, free: 7.699 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.0105, allocations: 15.94 kB / 282.8 MB, free: 7.684 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.0108, allocations: 178.8 kB / 283 MB, free: 7.508 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.01236, allocations: 1.578 MB / 284.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.01264, allocations: 226 kB / 284.8 MB, free: 5.598 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.01276, allocations: 102.4 kB / 284.9 MB, free: 5.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.01278, allocations: 4 kB / 284.9 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.01281, allocations: 41.39 kB / 285 MB, free: 5.438 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.01281, allocations: 4 kB / 285 MB, free: 5.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.001036/0.01385, allocations: 0.7021 MB / 285.7 MB, free: 4.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.01388, allocations: 85.11 kB / 285.8 MB, free: 4.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.01416, allocations: 406.6 kB / 286.2 MB, free: 4.172 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.01418, allocations: 29.7 kB / 286.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.01433, allocations: 354.8 kB / 286.5 MB, free: 3.785 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.01438, allocations: 115 kB / 286.6 MB, free: 3.672 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.43e-05/0.01446, allocations: 75.86 kB / 286.7 MB, free: 3.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.01459, allocations: 0.5196 MB / 287.2 MB, free: 3.059 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.01468, allocations: 48.97 kB / 287.3 MB, free: 3.012 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.01482, allocations: 185.1 kB / 287.5 MB, free: 2.777 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.01506, allocations: 263.2 kB / 287.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01506, allocations: 0 / 287.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004608/0.01552, allocations: 371.8 kB / 288.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.01554, allocations: 4 kB / 288.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.01555, allocations: 4 kB / 288.1 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004168/0.01597, allocations: 111.4 kB / 288.2 MB, free: 1.973 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.0162, allocations: 75.91 kB / 288.3 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002075/0.01828, allocations: 3.854 MB / 292.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.01845, allocations: 19.89 kB / 292.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.01847, allocations: 12 kB / 292.2 MB, free: 13.77 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.0001344/0.0186, allocations: 188.5 kB / 292.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.0187, allocations: 51.77 kB / 292.4 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.01874, allocations: 47.28 kB / 292.4 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01875, allocations: 4 kB / 292.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01875, allocations: 192 / 292.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01875, allocations: 4 kB / 292.4 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009335/0.01969, allocations: 0.8237 MB / 293.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.01969, allocations: 8 kB / 293.3 MB, free: 12.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.01982, allocations: 47.86 kB / 293.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.02015, allocations: 103.2 kB / 293.4 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.02017, allocations: 15.98 kB / 293.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.02204, allocations: 3.855 MB / 297.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02205, allocations: 0 / 297.3 MB, free: 8.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005855/0.02263, allocations: 0.5969 MB / 297.9 MB, free: 7.695 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.02269, allocations: 47.62 kB / 297.9 MB, free: 7.648 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.02272, allocations: 8.094 kB / 297.9 MB, free: 7.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.02294, allocations: 27.98 kB / 298 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.023, allocations: 31.89 kB / 298 MB, free: 7.582 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.02302, allocations: 11.98 kB / 298 MB, free: 7.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002104/0.02323, allocations: 271.1 kB / 298.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02323, allocations: 0 / 298.3 MB, free: 7.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005118/0.02375, allocations: 116 kB / 298.4 MB, free: 7.195 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 0.0001039/0.02385, allocations: 111.2 kB / 298.5 MB, free: 7.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006034/0.02445, allocations: 0.5449 MB / 299.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02446, allocations: 0.625 kB / 299.1 MB, free: 6.496 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.02484, allocations: 475 kB / 299.5 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.02526, allocations: 61.41 kB / 299.6 MB, free: 5.938 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.02673, allocations: 0.8883 MB / 300.5 MB, free: 5.008 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.977e-05/0.02682, allocations: 113.9 kB / 300.6 MB, free: 4.875 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.02694, allocations: 43.25 kB / 300.6 MB, free: 4.836 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.607e-05/0.027, allocations: 28.5 kB / 300.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.027, allocations: 0 / 300.6 MB, free: 4.809 MB / 282.7 MB Notification: Performance of Templates: time 0.008118/0.03512, allocations: 4.549 MB / 305.2 MB, free: 336 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.2284496969077736]