Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001329, allocations: 114.4 kB / 17.74 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 183.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 59.91 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09505, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.INV3S): time 0.002877/0.09797, allocations: 1.516 MB / 376.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001919/0.09992, allocations: 0.898 MB / 377.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.1, allocations: 0 / 377.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.996e-05/0.1001, allocations: 11.86 kB / 377.1 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.1002, allocations: 19.86 kB / 377.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1005, allocations: 47.88 kB / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.1009, allocations: 155.7 kB / 377.3 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.101, allocations: 12 kB / 377.3 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005446/0.1016, allocations: 383.3 kB / 377.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.1017, allocations: 63.7 kB / 377.7 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.766e-05/0.1018, allocations: 8 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.212e-05/0.1018, allocations: 12 kB / 377.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.102, allocations: 67.69 kB / 377.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.1021, allocations: 119.2 kB / 377.9 MB, free: 1.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000436/0.1026, allocations: 358.5 kB / 378.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1026, allocations: 3.938 kB / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1026, allocations: 0 / 378.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1026, allocations: 0 / 378.3 MB, free: 1.41 MB / 318.1 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.000896/0.1035, allocations: 0.7305 MB / 379 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.1036, allocations: 12.03 kB / 379 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.484e-05/0.1036, allocations: 34.75 kB / 379.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.506e-05/0.1037, allocations: 44.69 kB / 379.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.1041, allocations: 274.7 kB / 379.4 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.1041, allocations: 12.38 kB / 379.4 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.1041, allocations: 8.375 kB / 379.4 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.1045, allocations: 125.7 kB / 379.5 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.1045, allocations: 3.984 kB / 379.5 MB, free: 48 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.247e-05/0.1045, allocations: 4 kB / 379.5 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1045, allocations: 0 / 379.5 MB, free: 44 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1915/0.296, allocations: 54.55 kB / 379.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008305/0.2969, allocations: 472.8 kB / 380 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002081/0.2972, allocations: 93.55 kB / 380.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.2973, allocations: 86.97 kB / 380.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.2973, allocations: 1.375 kB / 380.2 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.2977, allocations: 205.3 kB / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.2977, allocations: 0 / 380.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008066/0.2985, allocations: 470.2 kB / 380.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.2986, allocations: 167 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.2992, allocations: 0.5164 MB / 381.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.2992, allocations: 30.39 kB / 381.6 MB, free: 12.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.2993, allocations: 103.6 kB / 381.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.2993, allocations: 27.97 kB / 381.7 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2994, allocations: 86.06 kB / 381.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.382e-05/0.2995, allocations: 322.4 kB / 382.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.2996, allocations: 54.89 kB / 382.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.2998, allocations: 79.27 kB / 382.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.3001, allocations: 346 kB / 382.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3001, allocations: 4.781 kB / 382.6 MB, free: 11.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006289/0.3008, allocations: 376.3 kB / 383 MB, free: 11.17 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.198e-05/0.3009, allocations: 128 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3009, allocations: 8.516 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3009, allocations: 1 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.418e-05/0.3009, allocations: 1.703 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3009, allocations: 1.938 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.3011, allocations: 10.67 kB / 383.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.064e-05/0.3012, allocations: 40.19 kB / 383.2 MB, free: 11.04 MB / 318.1 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.0002949/0.3015, allocations: 364.1 kB / 383.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.3015, allocations: 43.84 kB / 383.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.38e-05/0.3016, allocations: 65.83 kB / 383.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.3016, allocations: 0.5156 kB / 383.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.3017, allocations: 2.344 kB / 383.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3017, allocations: 0.6562 kB / 383.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008526/0.3025, allocations: 0.8169 MB / 384.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3025, allocations: 0 / 384.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.751e-06/0.3026, allocations: 1.719 kB / 384.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.3026, allocations: 3.438 kB / 384.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.3026, allocations: 19.52 kB / 384.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3026, allocations: 0 / 384.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3026, allocations: 0 / 384.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005432/0.3032, allocations: 0.5282 MB / 385 MB, free: 9.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.3034, allocations: 240.6 kB / 385.2 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.3035, allocations: 12.03 kB / 385.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.3036, allocations: 13.33 kB / 385.2 MB, free: 9.559 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/0.3037, allocations: 29.16 kB / 385.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.124e-05/0.3038, allocations: 54.5 kB / 385.3 MB, free: 9.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000394/0.3042, allocations: 388.2 kB / 385.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3042, allocations: 0 / 385.7 MB, free: 9.332 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.3045, allocations: 49.39 kB / 385.8 MB, free: 9.324 MB / 318.1 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.0007722/0.3052, allocations: 1.081 MB / 386.8 MB, free: 8.445 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004418/0.3057, allocations: 435.9 kB / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3057, allocations: 3.812 kB / 387.3 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.306, allocations: 378.1 kB / 387.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006462/0.3066, allocations: 129.5 kB / 387.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002888/0.3095, allocations: 2.749 MB / 390.5 MB, free: 5.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3098, allocations: 0.803 MB / 391.3 MB, free: 5.074 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.857e-05/0.3099, allocations: 17.39 kB / 391.3 MB, free: 5.066 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.31, allocations: 26.59 kB / 391.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.31, allocations: 0 / 391.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3384, allocations: 5.913 MB / 397.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.306, allocations: 1.125 kB / 397.3 MB, free: 4.004 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_INV3S.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/INV3S/INV3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.INV3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches