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.001588/0.001588, allocations: 116.9 kB / 18.49 MB, free: 4.559 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.001906/0.001906, allocations: 212.7 kB / 21.46 MB, free: 1.605 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.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 15.19 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.002672/0.002672, allocations: 59.91 kB / 373.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1234, allocations: 53.39 MB / 427.1 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.02064/0.144, allocations: 16.57 MB / 443.7 MB, free: 3.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2394/0.3834, allocations: 4.153 MB / 447.8 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.387, allocations: 166.6 kB / 448 MB, free: 7.621 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01519/0.4022, allocations: 7.491 MB / 455.5 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006935/0.4092, allocations: 1.329 MB / 456.8 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.4129, allocations: 1.239 MB / 458 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01072/0.4237, allocations: 8.248 MB / 466.3 MB, free: 4.191 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03354/0.4572, allocations: 17.37 MB / 483.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009601/0.4668, allocations: 4.902 MB / 488.5 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.4775, allocations: 5.352 MB / 493.9 MB, free: 5.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004306/0.4819, allocations: 1.383 MB / 495.3 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007047/0.4889, allocations: 1.665 MB / 496.9 MB, free: 2.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006112/0.495, allocations: 2.585 MB / 499.5 MB, free: 32 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01239/0.5074, allocations: 5.221 MB / 0.4929 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0283/0.5357, allocations: 18.36 MB / 0.5109 GB, free: 8.75 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/0.5357, allocations: 0 / 0.5109 GB, free: 8.75 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5357, allocations: 0 / 0.5109 GB, free: 8.75 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006997/0.5364, allocations: 4 kB / 0.5109 GB, free: 8.746 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.03514/0.5716, allocations: 10.62 MB / 0.5212 GB, free: 14.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.394e-05/0.5716, allocations: 12.03 kB / 0.5212 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000306/0.5719, allocations: 251 kB / 0.5215 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004566/0.5765, allocations: 1.293 MB / 0.5227 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02074/0.5972, allocations: 3.702 MB / 0.5264 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0131/0.6103, allocations: 5.391 MB / 0.5316 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007364/0.6111, allocations: 0.682 MB / 0.5323 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003936/0.615, allocations: 0.8857 MB / 0.5332 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03788/0.6529, allocations: 12.74 MB / 0.5456 GB, free: 5.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002705/0.6532, allocations: 7.953 kB / 0.5456 GB, free: 5.117 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003187/0.6563, allocations: 379 kB / 0.546 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004481/0.6568, allocations: 399.1 kB / 0.5463 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02742/0.6842, allocations: 11.43 MB / 0.5575 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08217/0.7664, allocations: 43.71 MB / 0.6002 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/0.7789, allocations: 10.29 MB / 0.6102 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.7816, allocations: 1.534 MB / 0.6117 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/0.7819, allocations: 233.7 kB / 0.612 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.62e-05/0.782, allocations: 64.31 kB / 0.612 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=223): time 3.748e-06/0.782, allocations: 0 / 0.612 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=223): time 0.009407/0.7914, allocations: 4.676 MB / 0.6166 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.7915, allocations: 73.41 kB / 0.6167 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00471/0.7962, allocations: 2.934 MB / 0.6195 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001831/0.7964, allocations: 61.7 kB / 0.6196 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003059/0.7994, allocations: 3.983 MB / 0.6235 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008853/0.8003, allocations: 0.828 MB / 0.6243 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001437/0.8018, allocations: 0.9644 MB / 0.6252 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.8019, allocations: 301.1 kB / 0.6255 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002991/0.8049, allocations: 1.978 MB / 0.6274 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/0.8099, allocations: 4.161 MB / 0.6315 GB, free: 9.652 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008777/0.8187, allocations: 6.525 MB / 0.6379 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.195e-05/0.8188, allocations: 20 kB / 0.6379 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=592) (initialization): time 0.4288/1.248, allocations: 6.514 MB / 0.6443 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.031e-05/1.248, allocations: 41.48 kB / 0.6443 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/1.248, allocations: 75.88 kB / 0.6444 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009382/1.249, allocations: 402.4 kB / 0.6448 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00344/1.252, allocations: 1.066 MB / 0.6458 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/1.257, allocations: 4.375 MB / 0.6501 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003508/1.261, allocations: 0.6385 MB / 0.6507 GB, free: 157.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005248/1.261, allocations: 252.1 kB / 0.6509 GB, free: 157.9 MB / 0.5294 GB 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.005649/1.267, allocations: 3.371 MB / 0.6542 GB, free: 156.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007225/1.268, allocations: 287.5 kB / 0.6545 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005947/1.274, allocations: 3.57 MB / 0.658 GB, free: 155 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004119/1.278, allocations: 2.819 MB / 0.6607 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.278, allocations: 3.219 kB / 0.6607 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.914e-05/1.278, allocations: 12.53 kB / 0.6608 GB, free: 153.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01625/1.294, allocations: 9.872 MB / 0.6704 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/1.294, allocations: 6.375 kB / 0.6704 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.296, allocations: 422.3 kB / 0.6708 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007256/1.296, allocations: 304.1 kB / 0.6711 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.297, allocations: 51.39 kB / 0.6711 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00402/1.301, allocations: 4.2 MB / 0.6752 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.301, allocations: 0 / 0.6752 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006493/1.307, allocations: 5.143 MB / 0.6803 GB, free: 145.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/1.308, allocations: 0.6249 MB / 0.6809 GB, free: 144.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003175/1.309, allocations: 44.31 kB / 0.6809 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/1.31, allocations: 129.1 kB / 0.681 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003157/1.31, allocations: 155 kB / 0.6812 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001324/1.31, allocations: 65.08 kB / 0.6813 GB, free: 144.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002533/1.313, allocations: 1.965 MB / 0.6832 GB, free: 144 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/1.313, allocations: 3.938 kB / 0.6832 GB, free: 144 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005/1.318, allocations: 1.986 MB / 0.6851 GB, free: 143.6 MB / 0.5294 GB 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.006036/1.324, allocations: 5.795 MB / 0.6908 GB, free: 140.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006358/1.33, allocations: 4.442 MB / 0.6951 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/1.33, allocations: 4 kB / 0.6951 GB, free: 139.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/1.332, allocations: 1.617 MB / 0.6967 GB, free: 137.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.335, allocations: 0.6777 MB / 0.6974 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05212/1.387, allocations: 40.13 MB / 0.7365 GB, free: 94.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005422/1.393, allocations: 5.648 MB / 0.7421 GB, free: 88.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003265/1.396, allocations: 1.695 MB / 0.7437 GB, free: 87.24 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002722/1.399, allocations: 2.745 MB / 0.7464 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.363e-06/1.399, allocations: 0 / 0.7464 GB, free: 84.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1219/1.52, allocations: 90.83 MB / 0.8351 GB, free: 9.961 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.85, allocations: 22.86 kB / 0.8351 GB, free: 9.945 MB / 0.545 GB " [Timeout remaining time 642] (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: 21.51502203103155]