Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001493/0.001493, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00185/0.00185, allocations: 55.91 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2755, allocations: 53.41 MB / 431.9 MB, free: 6.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01677/0.2923, allocations: 14.24 MB / 446.2 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009346/0.3016, allocations: 4.013 MB / 450.2 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005083/0.3067, allocations: 163.2 kB / 450.3 MB, free: 3.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01713/0.3238, allocations: 6.906 MB / 457.2 MB, free: 13.06 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006517/0.3303, allocations: 1.351 MB / 458.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004417/0.3348, allocations: 1.231 MB / 459.8 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.347, allocations: 8.304 MB / 468.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03108/0.3781, allocations: 14.37 MB / 482.5 MB, free: 3.582 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009038/0.3871, allocations: 4.91 MB / 487.4 MB, free: 14.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009432/0.3965, allocations: 5.357 MB / 492.8 MB, free: 9.285 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004203/0.4007, allocations: 1.383 MB / 494.1 MB, free: 7.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00576/0.4065, allocations: 1.664 MB / 495.8 MB, free: 6.238 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005212/0.4117, allocations: 2.595 MB / 498.4 MB, free: 3.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01026/0.422, allocations: 4.039 MB / 0.4907 GB, free: 15.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02668/0.4487, allocations: 18.44 MB / 0.5087 GB, free: 13.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.4487, allocations: 0 / 0.5087 GB, free: 13.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4487, allocations: 0 / 0.5087 GB, free: 13.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005849/0.4492, allocations: 0 / 0.5087 GB, free: 13.09 MB / 430.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.03417/0.4834, allocations: 10.56 MB / 0.519 GB, free: 2.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.4835, allocations: 12.03 kB / 0.519 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003671/0.4838, allocations: 251 kB / 0.5192 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005391/0.4892, allocations: 1.291 MB / 0.5205 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0208/0.51, allocations: 3.71 MB / 0.5241 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/0.5229, allocations: 5.425 MB / 0.5294 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008559/0.5238, allocations: 0.6785 MB / 0.5301 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00392/0.5277, allocations: 0.8906 MB / 0.5309 GB, free: 6.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4994/1.027, allocations: 12.81 MB / 0.5435 GB, free: 86.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004632/1.028, allocations: 12.14 kB / 0.5435 GB, free: 86.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003217/1.031, allocations: 374.3 kB / 0.5438 GB, free: 86.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004225/1.031, allocations: 402 kB / 0.5442 GB, free: 86.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02157/1.053, allocations: 11.43 MB / 0.5554 GB, free: 81.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05705/1.11, allocations: 38.96 MB / 0.5934 GB, free: 42.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006939/1.117, allocations: 4.185 MB / 0.5975 GB, free: 38.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001729/1.119, allocations: 1.53 MB / 0.599 GB, free: 37.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/1.119, allocations: 65.94 kB / 0.5991 GB, free: 37.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/1.119, allocations: 56.56 kB / 0.5991 GB, free: 36.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 5.821e-06/1.119, allocations: 0 / 0.5991 GB, free: 36.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.007213/1.126, allocations: 4.604 MB / 0.6036 GB, free: 32.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/1.126, allocations: 77.34 kB / 0.6037 GB, free: 32.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003663/1.13, allocations: 2.93 MB / 0.6066 GB, free: 29.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002787/1.13, allocations: 57.7 kB / 0.6066 GB, free: 29.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001712/1.132, allocations: 3.978 MB / 0.6105 GB, free: 25.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006105/1.132, allocations: 0.8354 MB / 0.6113 GB, free: 24.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/1.133, allocations: 0.9566 MB / 0.6122 GB, free: 23.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.298e-05/1.133, allocations: 305.1 kB / 0.6125 GB, free: 23.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/1.136, allocations: 1.976 MB / 0.6145 GB, free: 21.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002889/1.138, allocations: 4.157 MB / 0.6185 GB, free: 16.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005206/1.144, allocations: 6.521 MB / 0.6249 GB, free: 8.867 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-05/1.144, allocations: 24 kB / 0.6249 GB, free: 8.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=592) (initialization): time 0.007773/1.151, allocations: 6.524 MB / 0.6313 GB, free: 2.309 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.65e-05/1.151, allocations: 36 kB / 0.6313 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-05/1.152, allocations: 76 kB / 0.6314 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007521/1.152, allocations: 413.4 kB / 0.6318 GB, free: 1.793 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/1.155, allocations: 1.076 MB / 0.6328 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005065/1.16, allocations: 4.211 MB / 0.637 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/1.163, allocations: 0.6363 MB / 0.6376 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004231/1.164, allocations: 252 kB / 0.6378 GB, free: 11.51 MB / 462.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.005231/1.169, allocations: 3.365 MB / 0.6411 GB, free: 8.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006601/1.17, allocations: 286.2 kB / 0.6414 GB, free: 7.848 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005802/1.175, allocations: 3.577 MB / 0.6449 GB, free: 4.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004195/1.18, allocations: 2.815 MB / 0.6476 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.18, allocations: 0 / 0.6476 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.907e-05/1.18, allocations: 15.91 kB / 0.6476 GB, free: 1.402 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/1.197, allocations: 9.596 MB / 0.657 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/1.197, allocations: 0 / 0.657 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/1.198, allocations: 419.4 kB / 0.6574 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007409/1.199, allocations: 316.6 kB / 0.6577 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.199, allocations: 51.98 kB / 0.6578 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005045/1.204, allocations: 4.039 MB / 0.6617 GB, free: 2.812 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.204, allocations: 3.938 kB / 0.6617 GB, free: 2.809 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007414/1.211, allocations: 5.138 MB / 0.6667 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.213, allocations: 0.5599 MB / 0.6673 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/1.213, allocations: 44 kB / 0.6673 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/1.214, allocations: 127.8 kB / 0.6674 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003148/1.215, allocations: 165.6 kB / 0.6676 GB, free: 12.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/1.215, allocations: 63.98 kB / 0.6676 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002933/1.218, allocations: 1.963 MB / 0.6696 GB, free: 10.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/1.218, allocations: 64 / 0.6696 GB, free: 10.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005931/1.224, allocations: 1.992 MB / 0.6715 GB, free: 8.711 MB / 494.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.008243/1.232, allocations: 5.8 MB / 0.6772 GB, free: 2.867 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007731/1.24, allocations: 4.432 MB / 0.6815 GB, free: 14.43 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.24, allocations: 4 kB / 0.6815 GB, free: 14.43 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/1.242, allocations: 1.618 MB / 0.6831 GB, free: 12.8 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003282/1.245, allocations: 0.6795 MB / 0.6837 GB, free: 12.14 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06863/1.314, allocations: 40.28 MB / 0.7231 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01039/1.324, allocations: 5.168 MB / 0.7281 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004054/1.329, allocations: 1.694 MB / 0.7298 GB, free: 10.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004177/1.333, allocations: 2.741 MB / 0.7325 GB, free: 7.543 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/1.333, allocations: 0 / 0.7325 GB, free: 7.543 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3668/1.7, allocations: 94.03 MB / 0.8243 GB, free: 150.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.75/19.45, allocations: 6.719 kB / 0.8243 GB, free: 150.1 MB / 0.5607 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_TestSensors.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 22.824586648959666]