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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=100000,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=100000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001525/0.001525, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001787/0.001787, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 55.91 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.3702, allocations: 50.55 MB / 410 MB, free: 1.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.0054/0.3756, allocations: 4.108 MB / 414.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.3782, allocations: 0.9541 MB / 415 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004559/0.3787, allocations: 8 kB / 415 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003613/0.3791, allocations: 95.06 kB / 415.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004975/0.3796, allocations: 178.4 kB / 415.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005141/0.3802, allocations: 159.7 kB / 415.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008402/0.381, allocations: 0.6771 MB / 416.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.3814, allocations: 203 kB / 416.3 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000473/0.3819, allocations: 263 kB / 416.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3822, allocations: 298.6 kB / 416.9 MB, free: 10.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.562e-05/0.3823, allocations: 56 kB / 416.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.3825, allocations: 60 kB / 417 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3826, allocations: 127.5 kB / 417.1 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.3829, allocations: 306.5 kB / 417.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.3835, allocations: 0.6472 MB / 418.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3836, allocations: 0 / 418.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3836, allocations: 0 / 418.1 MB, free: 9.574 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3836, allocations: 0 / 418.1 MB, free: 9.574 MB / 334.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.001479/0.3851, allocations: 0.865 MB / 418.9 MB, free: 8.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.3851, allocations: 8.031 kB / 419 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.3854, allocations: 84.25 kB / 419 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.3861, allocations: 387.5 kB / 419.4 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.708e-05/0.3861, allocations: 37.38 kB / 419.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.3862, allocations: 48.38 kB / 419.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.3871, allocations: 495.5 kB / 420 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.3871, allocations: 0 / 420 MB, free: 7.57 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.858e-05/0.3872, allocations: 16 kB / 420 MB, free: 7.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.3872, allocations: 12 kB / 420 MB, free: 7.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005988/0.3878, allocations: 336.3 kB / 420.3 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.3905, allocations: 1.689 MB / 422 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004951/0.391, allocations: 257 kB / 422.3 MB, free: 5.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.3912, allocations: 141.7 kB / 422.4 MB, free: 5.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.3913, allocations: 4 kB / 422.4 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3913, allocations: 42.56 kB / 422.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 4.348e-06/0.3913, allocations: 0 / 422.5 MB, free: 4.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002233/0.3936, allocations: 0.9541 MB / 423.4 MB, free: 3.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.3936, allocations: 81.11 kB / 423.5 MB, free: 3.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004923/0.3941, allocations: 385.6 kB / 423.9 MB, free: 3.449 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.3942, allocations: 37.7 kB / 423.9 MB, free: 3.406 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.3944, allocations: 279.5 kB / 424.2 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.571e-05/0.3945, allocations: 118.3 kB / 424.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001292/0.3947, allocations: 78.05 kB / 424.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001969/0.3949, allocations: 354.7 kB / 424.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.3951, allocations: 96.83 kB / 424.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.3954, allocations: 198.6 kB / 425 MB, free: 2.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.3959, allocations: 309.2 kB / 425.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3959, allocations: 0 / 425.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009496/0.3969, allocations: 450.3 kB / 425.7 MB, free: 1.461 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.3969, allocations: 4 kB / 425.8 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.3969, allocations: 4 kB / 425.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004259/0.3974, allocations: 85.97 kB / 425.8 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.3977, allocations: 83.83 kB / 425.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003165/0.4009, allocations: 3.123 MB / 429 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004258/0.4014, allocations: 23.94 kB / 429.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.093e-05/0.4014, allocations: 16 kB / 429.1 MB, free: 13.84 MB / 350.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.000262/0.4017, allocations: 165.7 kB / 429.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.4018, allocations: 39.53 kB / 429.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.632e-05/0.4019, allocations: 51.45 kB / 429.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4019, allocations: 4.062 kB / 429.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.4019, allocations: 3.938 kB / 429.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.402, allocations: 128.4 kB / 429.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.4021, allocations: 4 kB / 429.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.4024, allocations: 31.97 kB / 429.5 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.14e-05/0.4025, allocations: 23.95 kB / 429.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00101/0.4035, allocations: 497.2 kB / 430 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008341/0.4044, allocations: 0.6425 MB / 430.7 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002005/0.4046, allocations: 110.6 kB / 430.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003583/0.405, allocations: 275.2 kB / 431 MB, free: 11.83 MB / 350.1 MB Notification: Performance of Backend: time 3.1e-07/0.405, allocations: 0 / 431 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.4064, allocations: 0.5172 MB / 431.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of SimCode: time 0.002023/0.4084, allocations: 1.405 MB / 433 MB, free: 9.828 MB / 350.1 MB Notification: Performance of Templates: time 0.01265/0.4211, allocations: 5.173 MB / 438.1 MB, free: 4.703 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches