Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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.001788/0.001788, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 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.00246/0.00246, allocations: 210.9 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [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 1.644/1.644, allocations: 207.7 MB / 234.6 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2282/0.2282, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.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_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002661/0.002661, allocations: 75.17 kB / 468.8 MB, free: 3.84 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1555, allocations: 61.04 MB / 0.5174 GB, free: 6.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection): time 0.02451/0.18, allocations: 17.08 MB / 0.5341 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1939, allocations: 4.842 MB / 0.5388 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005702/0.1996, allocations: 163.1 kB / 0.5389 GB, free: 500 kB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3419/0.5415, allocations: 7.257 MB / 0.546 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009878/0.5513, allocations: 2.169 MB / 0.5482 GB, free: 9.949 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005889/0.5572, allocations: 1.382 MB / 0.5495 GB, free: 9.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02165/0.5789, allocations: 12.42 MB / 0.5616 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04141/0.6203, allocations: 17 MB / 0.5782 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01944/0.6397, allocations: 6.747 MB / 0.5848 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0188/0.6585, allocations: 7.353 MB / 0.592 GB, free: 6.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007/0.6655, allocations: 1.735 MB / 0.5937 GB, free: 4.492 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.6766, allocations: 1.912 MB / 0.5956 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00925/0.6859, allocations: 3.737 MB / 0.5992 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0206/0.7065, allocations: 5.574 MB / 0.6047 GB, free: 9.402 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04343/0.7499, allocations: 23.86 MB / 0.628 GB, free: 1.887 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.7499, allocations: 0 / 0.628 GB, free: 1.887 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.7499, allocations: 0 / 0.628 GB, free: 1.887 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0008897/0.7508, allocations: 0 / 0.628 GB, free: 1.887 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3365 * Number of variables: 3365 Notification: Performance of Generate backend data structure: time 0.05393/0.8048, allocations: 14.99 MB / 0.6426 GB, free: 2.797 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.8048, allocations: 8.031 kB / 0.6426 GB, free: 2.789 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06927/0.8741, allocations: 12.48 MB / 0.6548 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/0.8946, allocations: 6.77 MB / 0.6614 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001377/0.896, allocations: 0.9032 MB / 0.6623 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006634/0.9027, allocations: 1.203 MB / 0.6635 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06019/0.9628, allocations: 19.57 MB / 0.6826 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006599/0.9635, allocations: 19.89 kB / 0.6826 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005742/0.9692, allocations: 0.4966 MB / 0.6831 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009048/0.9701, allocations: 0.6895 MB / 0.6838 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05158/1.022, allocations: 19.73 MB / 0.703 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1256/1.147, allocations: 52.78 MB / 0.7546 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02359/1.171, allocations: 11.44 MB / 0.7657 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5562/1.727, allocations: 4.303 MB / 0.7699 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000913/1.728, allocations: 136.4 kB / 0.7701 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/1.728, allocations: 106 kB / 0.7702 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=674): time 1.149e-05/1.728, allocations: 0.5469 kB / 0.7702 GB, free: 172.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=674): time 0.02873/1.757, allocations: 11.87 MB / 0.7818 GB, free: 171.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/1.757, allocations: 120.8 kB / 0.7819 GB, free: 171.4 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008091/1.765, allocations: 3.953 MB / 0.7857 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001486/1.767, allocations: 133.5 kB / 0.7859 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.003991/1.771, allocations: 4.82 MB / 0.7906 GB, free: 167.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.003751/1.774, allocations: 2.375 MB / 0.7929 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003202/1.778, allocations: 1.514 MB / 0.7944 GB, free: 165.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.066e-05/1.778, allocations: 305.7 kB / 0.7947 GB, free: 164.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008332/1.786, allocations: 4.195 MB / 0.7988 GB, free: 163.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01127/1.797, allocations: 7.23 MB / 0.8058 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/1.815, allocations: 12.41 MB / 0.8179 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002998/1.815, allocations: 28.31 kB / 0.818 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1028) (initialization): time 0.02544/1.841, allocations: 12.17 MB / 0.8298 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003184/1.841, allocations: 49.03 kB / 0.8299 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003175/1.841, allocations: 97.61 kB / 0.83 GB, free: 146.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/1.843, allocations: 423.7 kB / 0.8304 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008253/1.851, allocations: 2.1 MB / 0.8324 GB, free: 146 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006036/1.857, allocations: 8.827 MB / 0.8411 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007998/1.865, allocations: 1.075 MB / 0.8421 GB, free: 137.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00224/1.867, allocations: 397.9 kB / 0.8425 GB, free: 137.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * 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 (1022): * Single equations (assignments): 1016 * 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.01158/1.879, allocations: 4.662 MB / 0.847 GB, free: 133.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002202/1.881, allocations: 0.4929 MB / 0.8475 GB, free: 133.2 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02231/1.903, allocations: 10.77 MB / 0.858 GB, free: 123.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-05/1.903, allocations: 68 kB / 0.8581 GB, free: 123.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.903, allocations: 4 kB / 0.8581 GB, free: 123.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001341/1.904, allocations: 31.88 kB / 0.8581 GB, free: 123.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1677/2.071, allocations: 152.2 MB / 1.007 GB, free: 1.711 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005134/2.072, allocations: 95.45 kB / 1.007 GB, free: 1.621 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007111/2.079, allocations: 1.579 MB / 1.008 GB, free: 40 kB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3118/2.391, allocations: 379.7 kB / 1.009 GB, free: 186.1 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00158/2.392, allocations: 250.2 kB / 1.009 GB, free: 186.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005982/2.398, allocations: 8.691 MB / 1.017 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001216/2.398, allocations: 139.4 kB / 1.018 GB, free: 179.1 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03106/2.429, allocations: 18.61 MB / 1.036 GB, free: 170.9 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005777/2.435, allocations: 1.566 MB / 1.037 GB, free: 170.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002047/2.437, allocations: 248.1 kB / 1.038 GB, free: 170.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00656/2.444, allocations: 0.5628 MB / 1.038 GB, free: 170.4 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002455/2.446, allocations: 0.7694 MB / 1.039 GB, free: 170.2 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001469/2.448, allocations: 313.1 kB / 1.039 GB, free: 170.1 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.006615/2.454, allocations: 2.612 MB / 1.042 GB, free: 169.2 MB / 0.6232 GB Notification: Performance of sort global known variables: time 3.1e-07/2.454, allocations: 0 / 1.042 GB, free: 169.2 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01512/2.47, allocations: 3.001 MB / 1.045 GB, free: 168.6 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 397 * 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 (741): * Single equations (assignments): 735 * 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.002683/2.472, allocations: 0.5012 MB / 1.045 GB, free: 168.3 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.02077/2.493, allocations: 10.51 MB / 1.055 GB, free: 164.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 0.0001607/2.493, allocations: 17.84 kB / 1.055 GB, free: 164.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.009206/2.502, allocations: 5.335 MB / 1.061 GB, free: 162.3 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01306/2.515, allocations: 1.28 MB / 1.062 GB, free: 161.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04588/2.561, allocations: 24.46 MB / 1.086 GB, free: 149.5 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009702/2.571, allocations: 7.267 MB / 1.093 GB, free: 144.1 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002786/2.574, allocations: 0.5362 MB / 1.093 GB, free: 143.6 MB / 0.6232 GB Notification: Performance of SimCode: time 1.493e-06/2.574, allocations: 3.938 kB / 1.093 GB, free: 143.6 MB / 0.6232 GB Notification: Performance of Templates: time 1.203/3.777, allocations: 0.5328 GB / 1.626 GB, free: 120.9 MB / 0.6544 GB " [Timeout remaining time 656] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.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: 22.48190650716424]