Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.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.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.pin_p.reference.gamma|voltageSource.pin_p.reference.gamma|idealTransformer.v1.re|idealTransformer.v1.im|idealTransformer.i1.re|idealTransformer.i1.im|idealTransformer.v2.re|idealTransformer.v2.im|idealTransformer.i2.re|idealTransformer.i2.im",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001328/0.001328, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002929/0.002929, allocations: 60.05 kB / 307 MB, free: 0.5742 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1185, allocations: 50.54 MB / 357.5 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer): time 0.00758/0.1261, allocations: 5.619 MB / 363.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.1297, allocations: 1.88 MB / 365 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002889/0.13, allocations: 16 kB / 365 MB, free: 6.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.1336, allocations: 1.614 MB / 366.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.1352, allocations: 0.5977 MB / 367.3 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009836/0.1362, allocations: 402.9 kB / 367.7 MB, free: 3.859 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001116/0.1373, allocations: 0.7901 MB / 368.4 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.1389, allocations: 0.8874 MB / 369.3 MB, free: 2.156 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006344/0.1396, allocations: 354.6 kB / 369.7 MB, free: 1.809 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006516/0.1402, allocations: 494.1 kB / 370.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.1404, allocations: 80 kB / 370.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007451/0.1411, allocations: 243.8 kB / 370.5 MB, free: 1.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.1413, allocations: 195.2 kB / 370.7 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.1418, allocations: 422 kB / 371.1 MB, free: 412 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1626/0.3044, allocations: 1.154 MB / 372.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.3044, allocations: 2.172 kB / 372.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3044, allocations: 0 / 372.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.06e-05/0.3045, allocations: 3.75 kB / 372.2 MB, free: 11.89 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003622/0.3081, allocations: 1.349 MB / 373.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.3082, allocations: 9.031 kB / 373.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004581/0.3127, allocations: 0.6212 MB / 374.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/0.3134, allocations: 410.9 kB / 374.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.3134, allocations: 77.27 kB / 374.7 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/0.3136, allocations: 97.31 kB / 374.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.3153, allocations: 0.9908 MB / 375.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.3153, allocations: 4.641 kB / 375.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.3154, allocations: 39.5 kB / 375.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.856e-05/0.3154, allocations: 24.75 kB / 375.8 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.3169, allocations: 0.9256 MB / 376.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.3214, allocations: 3.46 MB / 380.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.3234, allocations: 2.24 MB / 382.5 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.3238, allocations: 290.6 kB / 382.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001153/0.324, allocations: 179.8 kB / 382.9 MB, free: 6.785 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.324, allocations: 44.33 kB / 383 MB, free: 6.738 MB / 302.1 MB Notification: Performance of pre-optimization done (n=65): time 2.585e-06/0.324, allocations: 4 kB / 383 MB, free: 6.734 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.001304/0.3253, allocations: 0.7202 MB / 383.7 MB, free: 6.438 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.3254, allocations: 113.9 kB / 383.8 MB, free: 6.312 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.3256, allocations: 272.2 kB / 384.1 MB, free: 6.145 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3257, allocations: 36.45 kB / 384.1 MB, free: 6.105 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.3258, allocations: 380.6 kB / 384.5 MB, free: 5.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3259, allocations: 224.4 kB / 384.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.3261, allocations: 136.7 kB / 384.8 MB, free: 5.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.3262, allocations: 346.5 kB / 385.2 MB, free: 5.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.3266, allocations: 223.3 kB / 385.4 MB, free: 5.156 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.3271, allocations: 442 kB / 385.8 MB, free: 4.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009002/0.328, allocations: 0.6918 MB / 386.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.328, allocations: 10.16 kB / 386.5 MB, free: 4.344 MB / 302.1 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001225/0.3293, allocations: 0.7556 MB / 387.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3293, allocations: 7.312 kB / 387.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.3293, allocations: 11.41 kB / 387.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.3294, allocations: 10.59 kB / 387.3 MB, free: 4.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/0.3301, allocations: 186.7 kB / 387.5 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.297e-05/0.3301, allocations: 19.78 kB / 387.5 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004265/0.3305, allocations: 80.72 kB / 387.6 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/0.3306, allocations: 32.77 kB / 387.6 MB, free: 3.984 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (98): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002722/0.3309, allocations: 225.1 kB / 387.8 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.331, allocations: 39.7 kB / 387.9 MB, free: 3.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3323, allocations: 0.6574 MB / 388.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.3323, allocations: 8.406 kB / 388.5 MB, free: 3.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3323, allocations: 4.734 kB / 388.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3323, allocations: 4.062 kB / 388.6 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.3346, allocations: 1.489 MB / 390 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3346, allocations: 1.094 kB / 390 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005692/0.3352, allocations: 147.6 kB / 390.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.3352, allocations: 3.406 kB / 390.2 MB, free: 2.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.3352, allocations: 15.73 kB / 390.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.3352, allocations: 3.531 kB / 390.2 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3352, allocations: 3.938 kB / 390.2 MB, free: 2.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.3367, allocations: 1.125 MB / 391.3 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-05/0.3367, allocations: 120 kB / 391.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.147e-05/0.3368, allocations: 16.62 kB / 391.5 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.3372, allocations: 19.72 kB / 391.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.134e-05/0.3373, allocations: 47.66 kB / 391.5 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-05/0.3373, allocations: 17.78 kB / 391.6 MB, free: 1.891 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3375, allocations: 186.1 kB / 391.7 MB, free: 1.781 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3375, allocations: 4.062 kB / 391.7 MB, free: 1.777 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007963/0.3383, allocations: 230.2 kB / 392 MB, free: 1.703 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (load.pin_p.reference.gamma,voltageSource.pin_p.reference.gamma) * 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00023/0.3385, allocations: 153.8 kB / 392.1 MB, free: 1.598 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3398, allocations: 0.6475 MB / 392.8 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3398, allocations: 0 / 392.8 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.3402, allocations: 302.4 kB / 393.1 MB, free: 1.305 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.3408, allocations: 43.09 kB / 393.1 MB, free: 1.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3425, allocations: 1.247 MB / 394.3 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3429, allocations: 0.9028 MB / 395.3 MB, free: 15.84 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.3433, allocations: 73.19 kB / 395.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3434, allocations: 52.55 kB / 395.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3434, allocations: 4 kB / 395.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of Templates: time 0.0101/0.3536, allocations: 4.643 MB / 400 MB, free: 13.85 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/Transformer/Transformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches