Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_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_symb_jac_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.001764/0.001764, allocations: 119.6 kB / 17.1 MB, free: 5.949 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.00201/0.002009, allocations: 195 kB / 18.04 MB, free: 5.027 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.478/1.478, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06576/0.06576, allocations: 14.18 MB / 285.4 MB, free: 13.85 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.001633/0.001633, allocations: 70.67 kB / 400 MB, free: 42.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08694, allocations: 50.13 MB / 450.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.003499/0.09047, allocations: 1.925 MB / 452 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.09132, allocations: 379.4 kB / 452.4 MB, free: 9.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001619/0.09151, allocations: 7.938 kB / 452.4 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.09184, allocations: 63.66 kB / 452.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.09205, allocations: 47.66 kB / 452.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005491/0.09261, allocations: 223.2 kB / 452.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.09292, allocations: 159.5 kB / 452.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.09309, allocations: 102.3 kB / 453 MB, free: 8.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.717e-05/0.09317, allocations: 51.73 kB / 453 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.09328, allocations: 79.56 kB / 453.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.09331, allocations: 16 kB / 453.1 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.09343, allocations: 51.92 kB / 453.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.09348, allocations: 39.86 kB / 453.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.746e-05/0.09356, allocations: 83.47 kB / 453.3 MB, free: 8.312 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003823/0.09395, allocations: 239.1 kB / 453.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.09397, allocations: 0 / 453.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.09398, allocations: 0 / 453.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.09402, allocations: 0 / 453.5 MB, free: 8.078 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.001193/0.09522, allocations: 0.5375 MB / 454.1 MB, free: 7.488 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.09526, allocations: 8.031 kB / 454.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.535e-05/0.09533, allocations: 28.78 kB / 454.1 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.09565, allocations: 232 kB / 454.3 MB, free: 7.188 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.09569, allocations: 20.31 kB / 454.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.686e-05/0.09573, allocations: 12.38 kB / 454.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.09607, allocations: 170 kB / 454.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.09609, allocations: 192 / 454.5 MB, free: 6.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.09612, allocations: 7.938 kB / 454.5 MB, free: 6.977 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.09613, allocations: 4 kB / 454.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002374/0.09637, allocations: 128 kB / 454.7 MB, free: 6.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.0974, allocations: 0.6602 MB / 455.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.09757, allocations: 66.55 kB / 455.4 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.045e-05/0.09764, allocations: 28.98 kB / 455.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.09766, allocations: 0 / 455.4 MB, free: 6.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.0977, allocations: 38.55 kB / 455.5 MB, free: 5.984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.09771, allocations: 4 kB / 455.5 MB, free: 5.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003431/0.09805, allocations: 133.4 kB / 455.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.09809, allocations: 55.41 kB / 455.6 MB, free: 5.777 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.09834, allocations: 253 kB / 455.9 MB, free: 5.523 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.09837, allocations: 29.7 kB / 455.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.705e-05/0.09847, allocations: 140 kB / 456.1 MB, free: 5.348 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.09849, allocations: 11.91 kB / 456.1 MB, free: 5.336 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-05/0.09855, allocations: 17.72 kB / 456.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.09868, allocations: 334.8 kB / 456.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.973e-05/0.09876, allocations: 32 kB / 456.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.09882, allocations: 31.98 kB / 456.5 MB, free: 4.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/0.09894, allocations: 68.86 kB / 456.5 MB, free: 4.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.09895, allocations: 3.938 kB / 456.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002018/0.09916, allocations: 125.5 kB / 456.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.09918, allocations: 8 kB / 456.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.09919, allocations: 0 / 456.7 MB, free: 4.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.09921, allocations: 3.938 kB / 456.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.09933, allocations: 19.98 kB / 456.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.09935, allocations: 0 / 456.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.808e-05/0.09944, allocations: 19.77 kB / 456.7 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.09945, allocations: 4 kB / 456.7 MB, free: 4.656 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.0001042/0.09956, allocations: 129.8 kB / 456.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.09961, allocations: 19.86 kB / 456.9 MB, free: 4.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.09966, allocations: 33.17 kB / 456.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.09967, allocations: 0 / 456.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.09968, allocations: 0 / 456.9 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.09975, allocations: 101 kB / 457 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.09978, allocations: 0 / 457 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.582e-05/0.09987, allocations: 0 / 457 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.09989, allocations: 4 kB / 457 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002573/0.1002, allocations: 169 kB / 457.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001686/0.1019, allocations: 1.713 MB / 458.9 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.258e-05/0.1019, allocations: 32.02 kB / 458.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002137/0.1022, allocations: 196.5 kB / 459.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of Backend: time 2.81e-07/0.1022, allocations: 0 / 459.1 MB, free: 2.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005349/0.1027, allocations: 142.2 kB / 459.3 MB, free: 1.953 MB / 334.1 MB Notification: Performance of SimCode: time 0.001015/0.1037, allocations: 0.992 MB / 460.2 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of Templates: time 0.005624/0.1094, allocations: 2.081 MB / 462.3 MB, free: 14.81 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.sim & ./PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches