Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.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.0009005/0.0009005, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009516/0.0009516, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8872/0.8872, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.173e-05, allocations: 6.984 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.001886/0.001908, allocations: 1.5 MB / 326 MB, free: 14.37 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003311, allocations: 0.8342 MB / 326.8 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.003364, allocations: 4 kB / 326.9 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.353e-05/0.003458, allocations: 7.922 kB / 326.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.135e-05/0.003529, allocations: 19.8 kB / 326.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.003765, allocations: 51.81 kB / 326.9 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001703/0.003936, allocations: 139.7 kB / 327.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004037, allocations: 12 kB / 327.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003563/0.004394, allocations: 423.2 kB / 327.5 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.004494, allocations: 59.81 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.004525, allocations: 12 kB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.514e-05/0.00455, allocations: 12 kB / 327.6 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.343e-05/0.004624, allocations: 59.78 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.114e-05/0.004695, allocations: 55.73 kB / 327.7 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002793/0.004974, allocations: 362.9 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.004978, allocations: 0 / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004979, allocations: 0 / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.004984, allocations: 0 / 328 MB, free: 12.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005708/0.005555, allocations: 0.6629 MB / 328.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.005598, allocations: 11.98 kB / 328.7 MB, free: 11.61 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.778e-05/0.005635, allocations: 42.73 kB / 328.8 MB, free: 11.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.005689, allocations: 40.7 kB / 328.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.005908, allocations: 216 kB / 329 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.005935, allocations: 12.38 kB / 329 MB, free: 11.27 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.005952, allocations: 4.375 kB / 329 MB, free: 11.26 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.006227, allocations: 241 kB / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.006234, allocations: 192 / 329.3 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.00625, allocations: 8.125 kB / 329.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.006257, allocations: 7.984 kB / 329.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.006385, allocations: 174.8 kB / 329.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.006858, allocations: 411.7 kB / 329.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.007042, allocations: 201.3 kB / 330 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.007162, allocations: 179.7 kB / 330.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.007173, allocations: 0 / 330.2 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.007514, allocations: 332.9 kB / 330.5 MB, free: 9.535 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.007515, allocations: 0 / 330.5 MB, free: 9.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008809/0.008396, allocations: 0.697 MB / 331.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.008464, allocations: 166.2 kB / 331.4 MB, free: 8.559 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004106/0.008874, allocations: 0.5168 MB / 331.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.008893, allocations: 29.7 kB / 331.9 MB, free: 8 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.169e-05/0.008945, allocations: 105.1 kB / 332.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.008975, allocations: 39.66 kB / 332.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.00905, allocations: 77.52 kB / 332.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.009128, allocations: 322.8 kB / 332.5 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.009248, allocations: 182.8 kB / 332.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.00937, allocations: 199.5 kB / 332.9 MB, free: 7.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002108/0.009581, allocations: 363.2 kB / 333.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.009583, allocations: 0 / 333.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003705/0.009954, allocations: 0.4952 MB / 333.7 MB, free: 6.062 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.201e-05/0.01002, allocations: 126.8 kB / 333.8 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.01002, allocations: 4 kB / 333.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.01003, allocations: 0 / 333.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-05/0.01005, allocations: 0 / 333.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.01006, allocations: 0 / 333.8 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.682e-05/0.01016, allocations: 19.94 kB / 333.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.01019, allocations: 40 kB / 333.9 MB, free: 5.852 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.yy,iNV3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002252/0.01042, allocations: 366.4 kB / 334.2 MB, free: 5.461 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.153e-05/0.01045, allocations: 43.75 kB / 334.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.937e-05/0.01052, allocations: 63.09 kB / 334.4 MB, free: 5.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.01052, allocations: 8 kB / 334.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.01053, allocations: 0 / 334.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.01053, allocations: 0 / 334.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.0112, allocations: 0.8845 MB / 335.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.01121, allocations: 4 kB / 335.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.952e-06/0.01121, allocations: 0 / 335.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.01122, allocations: 0 / 335.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.01123, allocations: 11.98 kB / 335.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01124, allocations: 7.938 kB / 335.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01124, allocations: 0 / 335.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.01167, allocations: 0.6609 MB / 335.9 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.01191, allocations: 205.4 kB / 336.1 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.01194, allocations: 8 kB / 336.1 MB, free: 3.406 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.01203, allocations: 15.98 kB / 336.2 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.01213, allocations: 24.11 kB / 336.2 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.112e-05/0.01218, allocations: 51.92 kB / 336.2 MB, free: 3.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003065/0.01248, allocations: 386.9 kB / 336.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01248, allocations: 0 / 336.6 MB, free: 2.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.01269, allocations: 51.88 kB / 336.7 MB, free: 2.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009677/0.01365, allocations: 1.213 MB / 337.9 MB, free: 1.594 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003888/0.01404, allocations: 0.6124 MB / 338.5 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.01404, allocations: 0 / 338.5 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.01424, allocations: 424.3 kB / 338.9 MB, free: 404 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.01462, allocations: 127.6 kB / 339 MB, free: 288 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.01695, allocations: 3.364 MB / 342.4 MB, free: 12.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.01711, allocations: 202.2 kB / 342.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.563e-05/0.01714, allocations: 4.734 kB / 342.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.01718, allocations: 32.48 kB / 342.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01719, allocations: 0 / 342.6 MB, free: 12.42 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.03898, allocations: 7.039 MB / 349.7 MB, free: 5.449 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.784/6.823, allocations: 11.8 kB / 349.7 MB, free: 5.438 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --stepSize=0.00239569 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.INV3S.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: 8.501258570700884]