Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001404/0.001404, 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.001673/0.001673, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.456/1.456, allocations: 230.6 MB / 257.5 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 43.92 kB / 377.8 MB, free: 3.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2743, allocations: 53.36 MB / 431.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.008013/0.2823, allocations: 6.076 MB / 437.2 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003618/0.2859, allocations: 1.701 MB / 438.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.287, allocations: 55.69 kB / 439 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.288, allocations: 325.4 kB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.2898, allocations: 393.4 kB / 439.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008445/0.2906, allocations: 355.6 kB / 440 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.293, allocations: 2.017 MB / 442 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.2951, allocations: 1.603 MB / 443.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.2964, allocations: 1.079 MB / 444.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.298, allocations: 1.218 MB / 445.9 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000353/0.2983, allocations: 312 kB / 446.2 MB, free: 7.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007797/0.2991, allocations: 0.5151 MB / 446.8 MB, free: 7.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006353/0.2997, allocations: 0.7324 MB / 447.5 MB, free: 6.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001279/0.301, allocations: 1.264 MB / 448.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.3048, allocations: 3.808 MB / 452.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.3048, allocations: 7.984 kB / 452.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3048, allocations: 0 / 452.6 MB, free: 1.262 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.744e-05/0.3049, allocations: 0 / 452.6 MB, free: 1.262 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004425/0.3093, allocations: 2.45 MB / 455 MB, free: 14.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.3093, allocations: 12.03 kB / 455 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003996/0.3097, allocations: 328.9 kB / 455.4 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.3105, allocations: 275.4 kB / 455.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.3129, allocations: 1.273 MB / 456.9 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.313, allocations: 168.9 kB / 457.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002943/0.3133, allocations: 219.9 kB / 457.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004144/0.3174, allocations: 2.549 MB / 459.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.3175, allocations: 0 / 459.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3176, allocations: 96 kB / 459.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.371e-05/0.3177, allocations: 56 kB / 460 MB, free: 9.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003473/0.3212, allocations: 2.134 MB / 462.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.3327, allocations: 7.362 MB / 469.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.3337, allocations: 0.6947 MB / 470.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.3348, allocations: 0.5906 MB / 470.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.171e-05/0.3349, allocations: 16.38 kB / 470.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.3349, allocations: 39.06 kB / 470.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.916e-06/0.3349, allocations: 0 / 470.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.004087/0.339, allocations: 2.379 MB / 473.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.339, allocations: 56.06 kB / 473.2 MB, free: 12.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3401, allocations: 0.8051 MB / 474.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.3401, allocations: 41.69 kB / 474.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006726/0.3408, allocations: 0.944 MB / 475 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001878/0.341, allocations: 242 kB / 475.3 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/0.3412, allocations: 150.6 kB / 475.4 MB, free: 9.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002016/0.3414, allocations: 390.8 kB / 475.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005663/0.342, allocations: 361.8 kB / 476.2 MB, free: 9.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000755/0.3427, allocations: 0.5829 MB / 476.7 MB, free: 8.512 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.3441, allocations: 0.9872 MB / 477.7 MB, free: 7.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3441, allocations: 4 kB / 477.7 MB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001788/0.3459, allocations: 1.157 MB / 478.9 MB, free: 6.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3459, allocations: 12 kB / 478.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.3459, allocations: 4 kB / 478.9 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.3462, allocations: 108.7 kB / 479 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006788/0.3469, allocations: 175.7 kB / 479.2 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.3493, allocations: 2.222 MB / 481.4 MB, free: 3.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.3498, allocations: 39.97 kB / 481.4 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.3499, allocations: 35.98 kB / 481.5 MB, free: 3.555 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.351, allocations: 0.6535 MB / 482.1 MB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.3512, allocations: 91.38 kB / 482.2 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.3514, allocations: 99.75 kB / 482.3 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.3514, allocations: 8 kB / 482.3 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.3514, allocations: 4 kB / 482.3 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3514, allocations: 3.984 kB / 482.3 MB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/0.3558, allocations: 2.629 MB / 485 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3558, allocations: 0 / 485 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.3563, allocations: 119.9 kB / 485.1 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000239/0.3565, allocations: 92.78 kB / 485.2 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.3565, allocations: 20 kB / 485.2 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002216/0.3588, allocations: 2.164 MB / 487.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3588, allocations: 96 / 487.4 MB, free: 13.47 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.3609, allocations: 1.427 MB / 488.8 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003967/0.3613, allocations: 147.5 kB / 488.9 MB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/0.3614, allocations: 27.92 kB / 488.9 MB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.3618, allocations: 39.95 kB / 489 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3619, allocations: 48.47 kB / 489 MB, free: 11.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-05/0.3619, allocations: 27.97 kB / 489.1 MB, free: 11.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008028/0.3628, allocations: 0.5615 MB / 489.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3628, allocations: 0 / 489.6 MB, free: 11.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001135/0.3639, allocations: 299.9 kB / 489.9 MB, free: 10.87 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002664/0.3666, allocations: 2.006 MB / 491.9 MB, free: 8.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.3683, allocations: 0.9638 MB / 492.9 MB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3683, allocations: 0 / 492.9 MB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008721/0.3692, allocations: 0.5379 MB / 493.4 MB, free: 7.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3702, allocations: 226.7 kB / 493.6 MB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.3852, allocations: 10.21 MB / 0.492 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00153/0.3867, allocations: 1.724 MB / 0.4937 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006138/0.3873, allocations: 207.1 kB / 0.4939 GB, free: 10.54 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008848/0.3882, allocations: 0.6399 MB / 0.4946 GB, free: 9.898 MB / 414.1 MB Notification: Performance of SimCode: time 1.522e-06/0.3882, allocations: 0 / 0.4946 GB, free: 9.898 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.4535, allocations: 25.13 MB / 0.5191 GB, free: 1.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.59, allocations: 0 / 0.5191 GB, free: 1.035 MB / 430.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.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: 16.17653825110756]