Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="I.k.im|I.k.re|I.y.im|I.y.re|V.k.im|V.k.re|V.y.im|V.y.re|terminalVoltageTransducer.It.im|terminalVoltageTransducer.It.re|terminalVoltageTransducer.Rc|terminalVoltageTransducer.Tr|terminalVoltageTransducer.Vc|terminalVoltageTransducer.Vt.im|terminalVoltageTransducer.Vt.re|terminalVoltageTransducer.Xc|terminalVoltageTransducer.add1.k1.im|terminalVoltageTransducer.add1.k1.re|terminalVoltageTransducer.add1.k2.im|terminalVoltageTransducer.add1.k2.re|terminalVoltageTransducer.add1.u1.im|terminalVoltageTransducer.add1.u1.re|terminalVoltageTransducer.add1.useConjugateInput1|terminalVoltageTransducer.add1.useConjugateInput2|terminalVoltageTransducer.complexToPolar.useConjugateInput|terminalVoltageTransducer.constRc.k|terminalVoltageTransducer.constRc.y|terminalVoltageTransducer.constXc.k|terminalVoltageTransducer.constXc.y|terminalVoltageTransducer.constZc.im|terminalVoltageTransducer.constZc.re|terminalVoltageTransducer.constZc.y.im|terminalVoltageTransducer.constZc.y.re|terminalVoltageTransducer.firstOrder.T|terminalVoltageTransducer.firstOrder.initType|terminalVoltageTransducer.firstOrder.k|terminalVoltageTransducer.firstOrder.y|terminalVoltageTransducer.firstOrder.y_start|terminalVoltageTransducer.initType|terminalVoltageTransducer.prod1.u1.im|terminalVoltageTransducer.prod1.u1.re|terminalVoltageTransducer.prod1.u2.im|terminalVoltageTransducer.prod1.u2.re|terminalVoltageTransducer.prod1.useConjugateInput1|terminalVoltageTransducer.prod1.useConjugateInput2|terminalVoltageTransducer.yStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") translateModel(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="I.k.im|I.k.re|I.y.im|I.y.re|V.k.im|V.k.re|V.y.im|V.y.re|terminalVoltageTransducer.It.im|terminalVoltageTransducer.It.re|terminalVoltageTransducer.Rc|terminalVoltageTransducer.Tr|terminalVoltageTransducer.Vc|terminalVoltageTransducer.Vt.im|terminalVoltageTransducer.Vt.re|terminalVoltageTransducer.Xc|terminalVoltageTransducer.add1.k1.im|terminalVoltageTransducer.add1.k1.re|terminalVoltageTransducer.add1.k2.im|terminalVoltageTransducer.add1.k2.re|terminalVoltageTransducer.add1.u1.im|terminalVoltageTransducer.add1.u1.re|terminalVoltageTransducer.add1.useConjugateInput1|terminalVoltageTransducer.add1.useConjugateInput2|terminalVoltageTransducer.complexToPolar.useConjugateInput|terminalVoltageTransducer.constRc.k|terminalVoltageTransducer.constRc.y|terminalVoltageTransducer.constXc.k|terminalVoltageTransducer.constXc.y|terminalVoltageTransducer.constZc.im|terminalVoltageTransducer.constZc.re|terminalVoltageTransducer.constZc.y.im|terminalVoltageTransducer.constZc.y.re|terminalVoltageTransducer.firstOrder.T|terminalVoltageTransducer.firstOrder.initType|terminalVoltageTransducer.firstOrder.k|terminalVoltageTransducer.firstOrder.y|terminalVoltageTransducer.firstOrder.y_start|terminalVoltageTransducer.initType|terminalVoltageTransducer.prod1.u1.im|terminalVoltageTransducer.prod1.u1.re|terminalVoltageTransducer.prod1.u2.im|terminalVoltageTransducer.prod1.u2.re|terminalVoltageTransducer.prod1.useConjugateInput1|terminalVoltageTransducer.prod1.useConjugateInput2|terminalVoltageTransducer.yStart|time",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 107.6 kB / 16.41 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 187.3 kB / 17.34 MB, free: 5.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06477/0.06477, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 71.92 kB / 399.3 MB, free: 42.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07421/0.07582, allocations: 50.14 MB / 449.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003196/0.07905, allocations: 1.922 MB / 451.3 MB, free: 9.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007961/0.07988, allocations: 387.4 kB / 451.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.08003, allocations: 8 kB / 451.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.08029, allocations: 63.66 kB / 451.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.08053, allocations: 43.66 kB / 451.8 MB, free: 9.113 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005207/0.08106, allocations: 223.2 kB / 452 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.08138, allocations: 163.5 kB / 452.2 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.08155, allocations: 94.27 kB / 452.3 MB, free: 8.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.65e-05/0.08163, allocations: 55.73 kB / 452.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.947e-05/0.08173, allocations: 75.56 kB / 452.4 MB, free: 8.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.08177, allocations: 16 kB / 452.4 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.08189, allocations: 55.97 kB / 452.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.08193, allocations: 35.8 kB / 452.5 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.08201, allocations: 83.55 kB / 452.6 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.08233, allocations: 235.1 kB / 452.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.08235, allocations: 0 / 452.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08236, allocations: 0 / 452.8 MB, free: 8.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.08237, allocations: 4 kB / 452.8 MB, free: 8.09 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0009815/0.08336, allocations: 0.5337 MB / 453.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.0834, allocations: 8.031 kB / 453.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.08346, allocations: 24.8 kB / 453.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.08375, allocations: 243.9 kB / 453.7 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.08378, allocations: 16.31 kB / 453.7 MB, free: 7.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.08382, allocations: 16.38 kB / 453.7 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.08412, allocations: 170 kB / 453.9 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.08414, allocations: 4.188 kB / 453.9 MB, free: 6.988 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.08416, allocations: 11.88 kB / 453.9 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.08418, allocations: 4 kB / 453.9 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.08442, allocations: 128 kB / 454 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009434/0.08537, allocations: 0.6602 MB / 454.7 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.08553, allocations: 58.58 kB / 454.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.974e-05/0.0856, allocations: 32.97 kB / 454.7 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.08563, allocations: 4 kB / 454.7 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.08566, allocations: 34.56 kB / 454.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.08566, allocations: 0 / 454.8 MB, free: 5.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002828/0.08595, allocations: 129.4 kB / 454.9 MB, free: 5.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.08598, allocations: 51.41 kB / 455 MB, free: 5.793 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.08624, allocations: 257 kB / 455.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.08626, allocations: 25.7 kB / 455.2 MB, free: 5.504 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.08637, allocations: 148 kB / 455.4 MB, free: 5.355 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.08639, allocations: 11.91 kB / 455.4 MB, free: 5.344 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.155e-05/0.08645, allocations: 25.7 kB / 455.4 MB, free: 5.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.08657, allocations: 326.8 kB / 455.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.545e-05/0.08664, allocations: 31.98 kB / 455.8 MB, free: 4.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.403e-05/0.0867, allocations: 28 kB / 455.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.08683, allocations: 72.78 kB / 455.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.08684, allocations: 0 / 455.9 MB, free: 4.852 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001951/0.08704, allocations: 129.5 kB / 456 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.08706, allocations: 8 kB / 456 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.08707, allocations: 256 / 456 MB, free: 4.711 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.08709, allocations: 7.938 kB / 456 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.08721, allocations: 12 kB / 456 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.08722, allocations: 3.938 kB / 456 MB, free: 4.688 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.598e-05/0.0873, allocations: 15.83 kB / 456 MB, free: 4.672 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.08732, allocations: 4 kB / 456 MB, free: 4.668 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001057/0.08743, allocations: 133.7 kB / 456.2 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.3e-05/0.08748, allocations: 23.84 kB / 456.2 MB, free: 4.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.429e-05/0.08753, allocations: 25.25 kB / 456.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.08754, allocations: 0 / 456.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.08755, allocations: 0 / 456.2 MB, free: 4.477 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.734e-05/0.08762, allocations: 97 kB / 456.3 MB, free: 4.363 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.47e-05/0.08765, allocations: 4 kB / 456.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.98e-05/0.08775, allocations: 4 kB / 456.3 MB, free: 4.355 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.08778, allocations: 3.984 kB / 456.3 MB, free: 4.352 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002699/0.08805, allocations: 165 kB / 456.5 MB, free: 4.184 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003338/0.0884, allocations: 322.5 kB / 456.8 MB, free: 3.852 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.532e-05/0.08847, allocations: 36.02 kB / 456.8 MB, free: 3.816 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.08867, allocations: 188.5 kB / 457 MB, free: 3.629 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.08867, allocations: 3.938 kB / 457 MB, free: 3.625 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005019/0.08918, allocations: 138.4 kB / 457.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008542/0.09005, allocations: 0.7491 MB / 457.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Templates: time 0.005167/0.09523, allocations: 2.03 MB / 459.9 MB, free: 0.6562 MB / 334.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & ./PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches