Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 122.3 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 190.9 kB / 21.39 MB, free: 1.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 207.6 MB / 231.8 MB, free: 4.086 MB / 174.1 MB " [Timeout remaining time 179] 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.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001674/0.001674, allocations: 51.92 kB / 342.3 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08762/0.0893, allocations: 49.12 MB / 391.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003979/0.09328, allocations: 2.761 MB / 394.1 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.09436, allocations: 0.6939 MB / 394.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.09447, allocations: 8 kB / 394.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001442/0.09462, allocations: 47.5 kB / 394.9 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.0948, allocations: 95.23 kB / 395 MB, free: 5.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.09503, allocations: 87.83 kB / 395.1 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003995/0.09543, allocations: 382.3 kB / 395.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/0.09561, allocations: 90.94 kB / 395.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001652/0.09577, allocations: 143.5 kB / 395.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.09597, allocations: 171.3 kB / 395.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.586e-05/0.09603, allocations: 36 kB / 395.9 MB, free: 4.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.078e-05/0.09608, allocations: 36 kB / 395.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.09614, allocations: 71.7 kB / 396 MB, free: 4.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.0963, allocations: 163.2 kB / 396.1 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.0967, allocations: 382.4 kB / 396.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.0967, allocations: 0 / 396.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0967, allocations: 0 / 396.5 MB, free: 3.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.09672, allocations: 0 / 396.5 MB, free: 3.57 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001263/0.09798, allocations: 0.6534 MB / 397.2 MB, free: 2.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.09802, allocations: 8.031 kB / 397.2 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.578e-05/0.09808, allocations: 62.67 kB / 397.2 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.751e-05/0.09815, allocations: 36.7 kB / 397.3 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003653/0.09852, allocations: 272.9 kB / 397.5 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.09854, allocations: 20.94 kB / 397.6 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.09858, allocations: 24.38 kB / 397.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006336/0.09921, allocations: 307.5 kB / 397.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.09923, allocations: 4 kB / 397.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.09925, allocations: 12 kB / 397.9 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.09926, allocations: 8 kB / 397.9 MB, free: 2.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.09997, allocations: 241.6 kB / 398.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.1016, allocations: 1.101 MB / 399.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.1023, allocations: 210.6 kB / 399.5 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.1026, allocations: 80.8 kB / 399.5 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1026, allocations: 0 / 399.5 MB, free: 344 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000411/0.103, allocations: 173.8 kB / 399.7 MB, free: 148 kB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.103, allocations: 0 / 399.7 MB, free: 148 kB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001934/0.1049, allocations: 0.5106 MB / 400.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/0.105, allocations: 106.8 kB / 400.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.1053, allocations: 286.6 kB / 400.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/0.1054, allocations: 33.7 kB / 400.6 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.1055, allocations: 195.9 kB / 400.8 MB, free: 14.95 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.548e-05/0.1055, allocations: 47.62 kB / 400.9 MB, free: 14.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.219e-05/0.1056, allocations: 49.94 kB / 400.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1058, allocations: 334.8 kB / 401.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/0.1061, allocations: 96.16 kB / 401.3 MB, free: 14.42 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.1064, allocations: 199.1 kB / 401.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.1071, allocations: 305.3 kB / 401.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1071, allocations: 0 / 401.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001108/0.1082, allocations: 427.8 kB / 402.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.1082, allocations: 37.69 kB / 402.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.1083, allocations: 7.938 kB / 402.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003116/0.1086, allocations: 72.91 kB / 402.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.1088, allocations: 47.89 kB / 402.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.111, allocations: 1.727 MB / 404.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/0.1114, allocations: 55.7 kB / 404.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.1114, allocations: 15.98 kB / 404.2 MB, free: 11.29 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.1115, allocations: 145.7 kB / 404.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.557e-05/0.1116, allocations: 23.86 kB / 404.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.1116, allocations: 33.64 kB / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1116, allocations: 0 / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1116, allocations: 0 / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1116, allocations: 0 / 404.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002821/0.1119, allocations: 301.4 kB / 404.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1119, allocations: 0 / 404.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.112, allocations: 15.98 kB / 404.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/0.1123, allocations: 72.8 kB / 404.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.1123, allocations: 4 kB / 404.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.1144, allocations: 1.704 MB / 406.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1144, allocations: 0 / 406.5 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.1154, allocations: 317.5 kB / 406.8 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.1155, allocations: 124.8 kB / 406.9 MB, free: 8.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.1155, allocations: 3.938 kB / 406.9 MB, free: 8.316 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.1157, allocations: 27.97 kB / 407 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.2e-05/0.1158, allocations: 27.91 kB / 407 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1158, allocations: 7.938 kB / 407 MB, free: 8.254 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.116, allocations: 206 kB / 407.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.116, allocations: 0 / 407.2 MB, free: 8.055 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1164, allocations: 75.89 kB / 407.3 MB, free: 7.98 MB / 334.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001284/0.1176, allocations: 0.8511 MB / 408.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009316/0.1186, allocations: 402.7 kB / 408.5 MB, free: 6.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1186, allocations: 4 kB / 408.5 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004301/0.119, allocations: 218.5 kB / 408.7 MB, free: 6.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.1193, allocations: 41.53 kB / 408.8 MB, free: 6.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00495/0.1242, allocations: 2.999 MB / 411.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/0.1247, allocations: 0.7518 MB / 412.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.814e-05/0.1248, allocations: 22.3 kB / 412.5 MB, free: 2.434 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1249, allocations: 83.41 kB / 412.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1249, allocations: 0 / 412.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.1686, allocations: 6.842 MB / 419.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.57, allocations: 8.172 kB / 419.5 MB, free: 11.45 MB / 350.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/InvertingAmp/InvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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: 13.801713339984417]