Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 189.8 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 47.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2492, allocations: 52.19 MB / 422.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01904/0.2682, allocations: 16.59 MB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008884/0.2771, allocations: 4.114 MB / 443.4 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.28, allocations: 163.2 kB / 443.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01715/0.2971, allocations: 7.511 MB / 451 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006147/0.3033, allocations: 1.517 MB / 452.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003725/0.307, allocations: 1.126 MB / 453.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0114/0.3184, allocations: 8.304 MB / 462 MB, free: 7.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02868/0.3471, allocations: 14.36 MB / 476.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00801/0.3551, allocations: 4.918 MB / 481.2 MB, free: 3.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009584/0.3647, allocations: 5.353 MB / 486.6 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003779/0.3684, allocations: 1.383 MB / 488 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.3734, allocations: 1.648 MB / 489.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004242/0.3777, allocations: 2.584 MB / 492.2 MB, free: 8.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009124/0.3868, allocations: 5.222 MB / 497.4 MB, free: 3.434 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02422/0.411, allocations: 18.34 MB / 0.5037 GB, free: 1.035 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.411, allocations: 0 / 0.5037 GB, free: 1.035 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.411, allocations: 0 / 0.5037 GB, free: 1.035 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004907/0.4115, allocations: 0 / 0.5037 GB, free: 1.035 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.03396/0.4455, allocations: 10.54 MB / 0.514 GB, free: 6.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/0.4455, allocations: 12.03 kB / 0.514 GB, free: 6.406 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004899/0.4504, allocations: 1.294 MB / 0.5153 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01984/0.4703, allocations: 3.776 MB / 0.5189 GB, free: 1.316 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/0.4832, allocations: 5.425 MB / 0.5242 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007676/0.484, allocations: 0.6823 MB / 0.5249 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003175/0.4872, allocations: 0.8906 MB / 0.5258 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4126/0.8998, allocations: 12.71 MB / 0.5382 GB, free: 91.43 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005098/0.9003, allocations: 10.08 kB / 0.5382 GB, free: 91.43 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002627/0.9029, allocations: 380.6 kB / 0.5386 GB, free: 91.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000525/0.9034, allocations: 402.4 kB / 0.5389 GB, free: 91.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02313/0.9266, allocations: 11.41 MB / 0.5501 GB, free: 86.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06469/0.9913, allocations: 42.32 MB / 0.5914 GB, free: 50.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007555/0.9988, allocations: 4.19 MB / 0.5955 GB, free: 46.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/1.001, allocations: 1.534 MB / 0.597 GB, free: 45.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/1.001, allocations: 60.22 kB / 0.5971 GB, free: 45.07 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/1.001, allocations: 52.56 kB / 0.5971 GB, free: 45.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.869e-06/1.001, allocations: 0 / 0.5971 GB, free: 45.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007652/1.009, allocations: 4.59 MB / 0.6016 GB, free: 40.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/1.009, allocations: 77.34 kB / 0.6017 GB, free: 40.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004446/1.013, allocations: 2.931 MB / 0.6045 GB, free: 37.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/1.014, allocations: 61.7 kB / 0.6046 GB, free: 37.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001634/1.015, allocations: 3.986 MB / 0.6085 GB, free: 33.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006093/1.016, allocations: 0.8288 MB / 0.6093 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001376/1.017, allocations: 0.9527 MB / 0.6102 GB, free: 32.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.746e-05/1.017, allocations: 305.1 kB / 0.6105 GB, free: 31.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002392/1.02, allocations: 1.973 MB / 0.6124 GB, free: 29.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/1.023, allocations: 4.153 MB / 0.6165 GB, free: 24.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005727/1.029, allocations: 6.509 MB / 0.6229 GB, free: 16.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.336e-05/1.029, allocations: 20 kB / 0.6229 GB, free: 16.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.009826/1.038, allocations: 6.511 MB / 0.6292 GB, free: 10.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.059e-05/1.038, allocations: 36 kB / 0.6293 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/1.039, allocations: 76 kB / 0.6293 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009457/1.04, allocations: 408.6 kB / 0.6297 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003006/1.043, allocations: 1.065 MB / 0.6308 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004236/1.047, allocations: 4.277 MB / 0.6349 GB, free: 4.441 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/1.05, allocations: 0.6403 MB / 0.6356 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005864/1.051, allocations: 248 kB / 0.6358 GB, free: 3.555 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * 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 (566): * Single equations (assignments): 564 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005547/1.056, allocations: 3.365 MB / 0.6391 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007919/1.057, allocations: 286.3 kB / 0.6394 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006744/1.064, allocations: 3.569 MB / 0.6429 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004479/1.068, allocations: 2.803 MB / 0.6456 GB, free: 9.48 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.068, allocations: 4 kB / 0.6456 GB, free: 9.477 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.199e-05/1.068, allocations: 15.89 kB / 0.6456 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/1.092, allocations: 9.883 MB / 0.6553 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/1.092, allocations: 0 / 0.6553 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/1.093, allocations: 423.5 kB / 0.6557 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009047/1.094, allocations: 316.6 kB / 0.656 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/1.095, allocations: 44 kB / 0.656 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006044/1.101, allocations: 4.115 MB / 0.66 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.101, allocations: 0 / 0.66 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008839/1.11, allocations: 5.126 MB / 0.665 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001741/1.111, allocations: 0.5561 MB / 0.6656 GB, free: 4.812 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006118/1.112, allocations: 36 kB / 0.6656 GB, free: 4.777 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/1.113, allocations: 139.8 kB / 0.6657 GB, free: 4.641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/1.114, allocations: 153.6 kB / 0.6659 GB, free: 4.492 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001523/1.114, allocations: 68.06 kB / 0.666 GB, free: 4.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003963/1.118, allocations: 1.967 MB / 0.6679 GB, free: 2.449 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/1.118, allocations: 0 / 0.6679 GB, free: 2.449 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006081/1.124, allocations: 1.988 MB / 0.6698 GB, free: 464 kB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (sineVoltage.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 (215): * Single equations (assignments): 213 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008695/1.133, allocations: 5.784 MB / 0.6755 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008175/1.141, allocations: 4.429 MB / 0.6798 GB, free: 6.184 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.141, allocations: 1.875 kB / 0.6798 GB, free: 6.184 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00297/1.144, allocations: 1.614 MB / 0.6814 GB, free: 4.562 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/1.147, allocations: 0.6816 MB / 0.682 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08/1.227, allocations: 40.3 MB / 0.7214 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/1.238, allocations: 5.645 MB / 0.7269 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004703/1.242, allocations: 1.702 MB / 0.7286 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005249/1.248, allocations: 2.729 MB / 0.7312 GB, free: 14.81 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/1.248, allocations: 0 / 0.7312 GB, free: 14.81 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3678/1.615, allocations: 94.82 MB / 0.8238 GB, free: 131 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.3/18.92, allocations: 0 / 0.8238 GB, free: 131 MB / 0.545 GB " [Timeout remaining time 641] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.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: 21.722250547958538]