Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008461/0.0008461, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [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.003782/0.003782, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8921/0.8921, allocations: 177.1 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2392/0.2392, allocations: 32.79 MB / 294.2 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.1..re|v.1..im|v.2..re|v.2..im|v.3..re|v.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.829e-05, allocations: 12.27 kB / 440.8 MB, free: 3.746 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.1844/0.1844, allocations: 17 MB / 457.9 MB, free: 36.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.1948, allocations: 4.846 MB / 462.7 MB, free: 33.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005082/0.1999, allocations: 192.6 kB / 462.9 MB, free: 33.33 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007996/0.2079, allocations: 7.678 MB / 470.6 MB, free: 28.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006652/0.2146, allocations: 2.139 MB / 472.7 MB, free: 27.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.2173, allocations: 1.376 MB / 474.1 MB, free: 26.85 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008622/0.2259, allocations: 12.62 MB / 486.7 MB, free: 20.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02014/0.246, allocations: 16.78 MB / 0.4917 GB, free: 10.96 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01839/0.2644, allocations: 9.739 MB / 0.5012 GB, free: 6.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01247/0.2769, allocations: 6.512 MB / 0.5075 GB, free: 3.426 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005151/0.282, allocations: 1.722 MB / 0.5092 GB, free: 2.582 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006936/0.289, allocations: 1.928 MB / 0.5111 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006495/0.2955, allocations: 3.733 MB / 0.5148 GB, free: 13.39 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01092/0.3064, allocations: 4.715 MB / 0.5194 GB, free: 8.992 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02179/0.3282, allocations: 23.89 MB / 0.5427 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.3282, allocations: 3.469 kB / 0.5427 GB, free: 1.609 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.3282, allocations: 0 / 0.5427 GB, free: 1.609 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000735/0.3289, allocations: 4 kB / 0.5427 GB, free: 1.605 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.02991/0.3588, allocations: 14.64 MB / 0.557 GB, free: 2.863 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.3589, allocations: 8.031 kB / 0.557 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02975/0.3886, allocations: 11.17 MB / 0.5679 GB, free: 7.664 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01302/0.4017, allocations: 7.506 MB / 0.5752 GB, free: 64 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007161/0.4024, allocations: 0.8949 MB / 0.5761 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/0.4068, allocations: 1.172 MB / 0.5773 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03813/0.445, allocations: 19.14 MB / 0.5959 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004059/0.4454, allocations: 11.95 kB / 0.596 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003172/0.4486, allocations: 499.9 kB / 0.5964 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004588/0.449, allocations: 0.6577 MB / 0.5971 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03221/0.4812, allocations: 19.05 MB / 0.6157 GB, free: 6.434 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4359/0.9171, allocations: 51.8 MB / 0.6663 GB, free: 109.2 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01278/0.9299, allocations: 10.62 MB / 0.6766 GB, free: 105.3 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005705/0.9356, allocations: 4.222 MB / 0.6808 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004128/0.936, allocations: 187.7 kB / 0.6809 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.035e-05/0.936, allocations: 104.8 kB / 0.681 GB, free: 103.8 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=653): time 1.074e-05/0.9361, allocations: 0 / 0.681 GB, free: 103.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=653): time 0.01703/0.9531, allocations: 11.74 MB / 0.6925 GB, free: 99.82 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.9532, allocations: 119 kB / 0.6926 GB, free: 99.75 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005507/0.9587, allocations: 3.827 MB / 0.6964 GB, free: 98.43 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001262/0.96, allocations: 132.7 kB / 0.6965 GB, free: 98.32 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002083/0.962, allocations: 4.682 MB / 0.7011 GB, free: 95.59 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002015/0.9641, allocations: 2.269 MB / 0.7033 GB, free: 94.05 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001894/0.9659, allocations: 1.455 MB / 0.7047 GB, free: 93.39 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 3.385e-05/0.966, allocations: 305.1 kB / 0.705 GB, free: 93.09 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004246/0.9702, allocations: 4.118 MB / 0.709 GB, free: 91.78 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/0.9758, allocations: 6.916 MB / 0.7158 GB, free: 86.91 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.9868, allocations: 11.98 MB / 0.7275 GB, free: 79.72 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001135/0.9869, allocations: 34.69 kB / 0.7275 GB, free: 79.71 MB / 0.5262 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.0146/1.001, allocations: 11.84 MB / 0.7391 GB, free: 74.38 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/1.002, allocations: 42.56 kB / 0.7391 GB, free: 74.38 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/1.002, allocations: 93.03 kB / 0.7392 GB, free: 74.38 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006422/1.002, allocations: 406.5 kB / 0.7396 GB, free: 74.21 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004153/1.006, allocations: 2.019 MB / 0.7415 GB, free: 72.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003892/1.01, allocations: 8.809 MB / 0.7501 GB, free: 63.15 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005039/1.015, allocations: 1.014 MB / 0.7511 GB, free: 62.13 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001432/1.017, allocations: 392 kB / 0.7515 GB, free: 61.75 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007166/1.024, allocations: 4.587 MB / 0.756 GB, free: 57.15 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.025, allocations: 484.8 kB / 0.7565 GB, free: 56.67 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.036, allocations: 10.32 MB / 0.7665 GB, free: 46.25 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.681e-05/1.036, allocations: 64 kB / 0.7666 GB, free: 46.18 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.036, allocations: 4 kB / 0.7666 GB, free: 46.18 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/1.036, allocations: 31.88 kB / 0.7666 GB, free: 46.15 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3671/1.403, allocations: 150.1 MB / 0.9132 GB, free: 147.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001514/1.403, allocations: 82.41 kB / 0.9133 GB, free: 147.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003605/1.407, allocations: 1.557 MB / 0.9148 GB, free: 146.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000607/1.408, allocations: 386.3 kB / 0.9152 GB, free: 146.8 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007822/1.408, allocations: 263.1 kB / 0.9155 GB, free: 146.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/1.412, allocations: 8.678 MB / 0.9239 GB, free: 139.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.555e-05/1.412, allocations: 134.6 kB / 0.9241 GB, free: 139 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01656/1.428, allocations: 18.19 MB / 0.9418 GB, free: 128.4 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003401/1.432, allocations: 1.558 MB / 0.9433 GB, free: 127.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00109/1.433, allocations: 244.5 kB / 0.9436 GB, free: 127.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/1.436, allocations: 0.5493 MB / 0.9441 GB, free: 126.8 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008146/1.437, allocations: 0.7609 MB / 0.9449 GB, free: 126.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004205/1.437, allocations: 322.4 kB / 0.9452 GB, free: 126 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00277/1.44, allocations: 2.538 MB / 0.9476 GB, free: 123.9 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/1.44, allocations: 0 / 0.9476 GB, free: 123.9 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008152/1.448, allocations: 2.95 MB / 0.9505 GB, free: 121.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_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 (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00142/1.45, allocations: 0.498 MB / 0.951 GB, free: 120.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01106/1.461, allocations: 10.31 MB / 0.9611 GB, free: 111.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.6e-05/1.461, allocations: 16 kB / 0.9611 GB, free: 111.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005779/1.467, allocations: 5.289 MB / 0.9663 GB, free: 106.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006528/1.473, allocations: 1.266 MB / 0.9675 GB, free: 105.4 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03115/1.504, allocations: 23.75 MB / 0.9907 GB, free: 80.37 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01104/1.515, allocations: 7.146 MB / 0.9977 GB, free: 73.19 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003208/1.519, allocations: 0.5979 MB / 0.9982 GB, free: 72.59 MB / 0.573 GB Notification: Performance of SimCode: time 3.296e-06/1.519, allocations: 0 / 0.9982 GB, free: 72.59 MB / 0.573 GB Notification: Performance of Templates: time 0.9782/2.497, allocations: 0.5293 GB / 1.528 GB, free: 17.12 MB / 0.6043 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.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: 17.370186287909746]