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.00184/0.00184, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00237/0.00237, allocations: 213.2 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2743/0.2743, allocations: 44.92 MB / 358.8 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003039/0.003039, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3569, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02298/0.3798, allocations: 19.88 MB / 0.5764 GB, free: 3.824 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01179/0.3916, allocations: 5.001 MB / 0.5813 GB, free: 14.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003593/0.3952, allocations: 195 kB / 0.5815 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01869/0.4139, allocations: 7.851 MB / 0.5892 GB, free: 6.746 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008003/0.4219, allocations: 2.113 MB / 0.5912 GB, free: 4.629 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004541/0.4265, allocations: 1.422 MB / 0.5926 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01801/0.4445, allocations: 12.23 MB / 0.6046 GB, free: 6.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0301/0.4746, allocations: 16.87 MB / 0.6211 GB, free: 5.844 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01212/0.4867, allocations: 6.663 MB / 0.6276 GB, free: 15.16 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01459/0.5013, allocations: 7.288 MB / 0.6347 GB, free: 7.852 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005642/0.5069, allocations: 1.719 MB / 0.6364 GB, free: 6.133 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007047/0.514, allocations: 1.918 MB / 0.6382 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006961/0.5209, allocations: 3.663 MB / 0.6418 GB, free: 0.543 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01397/0.5349, allocations: 7.011 MB / 0.6486 GB, free: 9.5 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03167/0.5666, allocations: 23.68 MB / 0.6718 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5666, allocations: 0 / 0.6718 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5666, allocations: 0 / 0.6718 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.000678/0.5673, allocations: 4 kB / 0.6718 GB, free: 1.746 MB / 0.4981 GB 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.04438/0.6116, allocations: 14.75 MB / 0.6862 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.6117, allocations: 8.031 kB / 0.6862 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009472/0.6212, allocations: 1.726 MB / 0.6879 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06234/0.6835, allocations: 11.18 MB / 0.6988 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.7019, allocations: 7.487 MB / 0.7061 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001015/0.7029, allocations: 0.8871 MB / 0.707 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004708/0.7076, allocations: 1.172 MB / 0.7081 GB, free: 12.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04741/0.755, allocations: 18.61 MB / 0.7263 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005225/0.7555, allocations: 23.89 kB / 0.7263 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003697/0.7592, allocations: 495.9 kB / 0.7268 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007336/0.76, allocations: 0.6577 MB / 0.7274 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5972/1.357, allocations: 19.15 MB / 0.7461 GB, free: 134.9 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1081/1.465, allocations: 59.54 MB / 0.8043 GB, free: 87.57 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01824/1.483, allocations: 10.7 MB / 0.8147 GB, free: 77.38 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006083/1.49, allocations: 4.22 MB / 0.8188 GB, free: 73.13 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005525/1.49, allocations: 236.2 kB / 0.8191 GB, free: 72.95 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.054e-05/1.49, allocations: 107.7 kB / 0.8192 GB, free: 72.83 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=653): time 8.416e-06/1.49, allocations: 0 / 0.8192 GB, free: 72.83 MB / 0.5607 GB Notification: Performance of matching and sorting (n=653): time 0.01688/1.507, allocations: 12.01 MB / 0.8309 GB, free: 60.73 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.507, allocations: 124.5 kB / 0.831 GB, free: 60.6 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/1.52, allocations: 8.606 MB / 0.8394 GB, free: 52.05 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001527/1.522, allocations: 133.7 kB / 0.8395 GB, free: 51.91 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003662/1.526, allocations: 4.614 MB / 0.844 GB, free: 47.8 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.002716/1.528, allocations: 2.297 MB / 0.8463 GB, free: 45.48 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002218/1.53, allocations: 1.466 MB / 0.8477 GB, free: 44.01 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.827e-05/1.531, allocations: 301.1 kB / 0.848 GB, free: 43.71 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005568/1.536, allocations: 4.121 MB / 0.852 GB, free: 39.59 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007508/1.544, allocations: 6.913 MB / 0.8588 GB, free: 31.4 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01498/1.559, allocations: 11.99 MB / 0.8705 GB, free: 18.06 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.559, allocations: 28 kB / 0.8705 GB, free: 18.04 MB / 0.5607 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02105/1.58, allocations: 12.1 MB / 0.8823 GB, free: 5.828 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/1.58, allocations: 44 kB / 0.8824 GB, free: 5.785 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001422/1.58, allocations: 88 kB / 0.8825 GB, free: 5.699 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009963/1.581, allocations: 416.8 kB / 0.8829 GB, free: 5.273 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007608/1.589, allocations: 2.016 MB / 0.8848 GB, free: 3.254 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/1.597, allocations: 8.973 MB / 0.8936 GB, free: 9.594 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008189/1.605, allocations: 1.385 MB / 0.8949 GB, free: 8.199 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001871/1.607, allocations: 383.9 kB / 0.8953 GB, free: 7.824 MB / 0.5763 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.01164/1.619, allocations: 4.582 MB / 0.8998 GB, free: 3.227 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002729/1.622, allocations: 0.7374 MB / 0.9005 GB, free: 2.484 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02464/1.646, allocations: 10.59 MB / 0.9108 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.149e-05/1.646, allocations: 68 kB / 0.9109 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.205e-05/1.646, allocations: 3.938 kB / 0.9109 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001417/1.646, allocations: 39.86 kB / 0.9109 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5406/2.187, allocations: 152.6 MB / 1.06 GB, free: 192.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001964/2.187, allocations: 84 kB / 1.06 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005793/2.193, allocations: 1.558 MB / 1.062 GB, free: 190.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009069/2.194, allocations: 384.5 kB / 1.062 GB, free: 190.2 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001278/2.195, allocations: 266 kB / 1.062 GB, free: 189.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/2.201, allocations: 8.847 MB / 1.071 GB, free: 180.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.907e-05/2.202, allocations: 131.4 kB / 1.071 GB, free: 180.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02506/2.227, allocations: 18.63 MB / 1.089 GB, free: 160.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006573/2.233, allocations: 2.081 MB / 1.091 GB, free: 158.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/2.235, allocations: 243.9 kB / 1.091 GB, free: 158.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006322/2.242, allocations: 0.5463 MB / 1.092 GB, free: 157.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00161/2.243, allocations: 0.7686 MB / 1.093 GB, free: 156.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007198/2.244, allocations: 319.9 kB / 1.093 GB, free: 156.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.01115/2.255, allocations: 6.047 MB / 1.099 GB, free: 150.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/2.255, allocations: 4 kB / 1.099 GB, free: 150.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0109/2.266, allocations: 2.644 MB / 1.101 GB, free: 148 MB / 0.67 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.02391/2.29, allocations: 19.54 MB / 1.121 GB, free: 126.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01638/2.306, allocations: 10.32 MB / 1.131 GB, free: 116 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.523e-05/2.306, allocations: 16 kB / 1.131 GB, free: 116 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008229/2.315, allocations: 5.286 MB / 1.136 GB, free: 110.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/2.328, allocations: 1.488 MB / 1.137 GB, free: 109.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1565/2.484, allocations: 99.31 MB / 1.234 GB, free: 3.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01131/2.496, allocations: 7.777 MB / 1.242 GB, free: 11.7 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01127/2.507, allocations: 3.562 MB / 1.245 GB, free: 8.129 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009421/2.516, allocations: 4.205 MB / 1.249 GB, free: 3.922 MB / 0.6857 GB Notification: Performance of SimCode: time 2.965e-06/2.516, allocations: 0 / 1.249 GB, free: 3.922 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.653/3.169, allocations: 194.5 MB / 1.439 GB, free: 82.43 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.26/34.43, allocations: 3.938 kB / 1.439 GB, free: 82.43 MB / 0.6857 GB " [Timeout remaining time 625] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","/var/lib/jenkins1/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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 41.504798899870366]