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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real [:1:1-1:33:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003841/0.0003841, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0004984/0.0004984, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.3521/0.3521, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.0232/0.0232, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",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",simflags="-lv=LOG_STATS -s=dassl -alarm=480 -emit_protected -lv LOG_STATS") simulate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=500,outputFormat="mat",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",simflags="-lv=LOG_STATS -s=dassl -alarm=480 -emit_protected -lv LOG_STATS") [Timeout 1140] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.805e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE): time 0.005017/0.005035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00134/0.006374, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.006611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0005386/0.00715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.007518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.008644, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0004948/0.009139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.009406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0002653/0.009672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.009847, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 5.048e-05/0.009897, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0003635/0.01026, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.313e-05/0.01035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.01051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.000813/0.01132, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.368e-05/0.01136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.605e-06/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 6.453e-06/0.01137, allocations: 0 / 0, free: 0 / 0 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.002952/0.01432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.255e-05/0.0144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.01466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007724/0.01543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/0.01548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 9.631e-05/0.01558, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.01676, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.01677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.761e-05/0.01685, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.01687, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009567/0.01782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002777/0.0206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.02098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.02116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.02118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.02122, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=5): time 6.427e-05/0.02128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=5): time 0.0009415/0.02223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.02228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.02279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.523e-05/0.02285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0002287/0.02308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/0.02313, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002379/0.02337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 0.0004247/0.0238, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.02402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.02425, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004775/0.02473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=8) (initialization): time 0.000871/0.0256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.02563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.02564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.02565, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.02588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.02589, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.02603, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.02606, allocations: 0 / 0, free: 0 / 0 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.0003365/0.0264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.02661, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.02672, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.02673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.02673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.02674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.02922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.02923, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.0294, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 9.016e-06/0.02941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.02945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.02946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.02947, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.03051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/0.03065, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.03075, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.03098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.0311, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.03113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0003568/0.03149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.706e-06/0.0315, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.001196/0.03269, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (terminalVoltageTransducer.firstOrder.y) * 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 (5): * Single equations (assignments): 5 * 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.00026/0.03295, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0004906/0.03344, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.03345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.03365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.03536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.03677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.03706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001394/0.0372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.03747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003208/0.03779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001497/0.03929, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1140] diffSimulationResults("PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_PowerGrids.Electrical.Test.TestTerminalVoltageTransducerIEEE.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 1.339176495999709]