Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 55.86 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1001, allocations: 53.33 MB / 426.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004286/0.1044, allocations: 2.887 MB / 429.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.1059, allocations: 0.7556 MB / 430 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.106, allocations: 4 kB / 430 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.1062, allocations: 47.52 kB / 430.1 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002099/0.1064, allocations: 99.23 kB / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.1067, allocations: 115.8 kB / 430.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004812/0.1072, allocations: 394.5 kB / 430.6 MB, free: 440 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002376/0.1074, allocations: 91.27 kB / 430.7 MB, free: 340 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003129/0.1077, allocations: 155.4 kB / 430.9 MB, free: 184 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.108, allocations: 171.3 kB / 431.1 MB, free: 12 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.1836/0.2916, allocations: 35.89 kB / 431.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.2917, allocations: 36.59 kB / 431.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.396e-05/0.2918, allocations: 75.02 kB / 431.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.292, allocations: 161.6 kB / 431.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.2925, allocations: 430.5 kB / 431.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2925, allocations: 0 / 431.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.2925, allocations: 2.438 kB / 431.8 MB, free: 7.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2925, allocations: 0.9688 kB / 431.8 MB, free: 7.898 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001267/0.2938, allocations: 0.6615 MB / 432.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.2938, allocations: 15.84 kB / 432.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.184e-05/0.2939, allocations: 57.59 kB / 432.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.187e-05/0.294, allocations: 39.7 kB / 432.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.2943, allocations: 289.1 kB / 432.8 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.2943, allocations: 20.81 kB / 432.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.009e-05/0.2944, allocations: 22.41 kB / 432.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006459/0.295, allocations: 319.3 kB / 433.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.295, allocations: 0 / 433.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.809e-05/0.2951, allocations: 9.156 kB / 433.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.2951, allocations: 8.406 kB / 433.2 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007418/0.2958, allocations: 279.4 kB / 433.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001685/0.2975, allocations: 1.173 MB / 434.7 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.2984, allocations: 239 kB / 434.9 MB, free: 6.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.2987, allocations: 96.59 kB / 435 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.2988, allocations: 3 kB / 435 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004421/0.2992, allocations: 173.6 kB / 435.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2992, allocations: 0 / 435.2 MB, free: 6.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002089/0.3013, allocations: 0.5906 MB / 435.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3013, allocations: 84.64 kB / 435.8 MB, free: 6.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.3016, allocations: 269.5 kB / 436.1 MB, free: 6.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3016, allocations: 27.83 kB / 436.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.267e-05/0.3017, allocations: 203.7 kB / 436.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3017, allocations: 38.81 kB / 436.4 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.3018, allocations: 50.72 kB / 436.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.634e-05/0.3018, allocations: 334.9 kB / 436.7 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003479/0.3022, allocations: 100.3 kB / 436.8 MB, free: 5.508 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.3026, allocations: 188.3 kB / 437 MB, free: 5.402 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006691/0.3032, allocations: 305 kB / 437.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3032, allocations: 1.094 kB / 437.3 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001182/0.3044, allocations: 447.3 kB / 437.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.3044, allocations: 37.5 kB / 437.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.3045, allocations: 5.312 kB / 437.8 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003258/0.3048, allocations: 66.47 kB / 437.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.305, allocations: 57.28 kB / 437.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.3069, allocations: 1.628 MB / 439.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003175/0.3072, allocations: 48.16 kB / 439.6 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.3072, allocations: 9.734 kB / 439.6 MB, free: 3.758 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.3074, allocations: 163.1 kB / 439.8 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.534e-05/0.3074, allocations: 22.98 kB / 439.8 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.3074, allocations: 28.59 kB / 439.8 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3075, allocations: 5.531 kB / 439.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.3075, allocations: 1.828 kB / 439.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3075, allocations: 0.7031 kB / 439.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002594/0.3077, allocations: 312.1 kB / 440.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3077, allocations: 0.6094 kB / 440.1 MB, free: 3.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.3079, allocations: 38.91 kB / 440.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002198/0.3081, allocations: 57.73 kB / 440.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.3082, allocations: 6.297 kB / 440.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.3098, allocations: 1.628 MB / 441.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3098, allocations: 1.188 kB / 441.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.3112, allocations: 449.7 kB / 442.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.3112, allocations: 109.2 kB / 442.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.3112, allocations: 2.922 kB / 442.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.3115, allocations: 31.05 kB / 442.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.714e-05/0.3115, allocations: 16.8 kB / 442.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.3116, allocations: 3.516 kB / 442.4 MB, free: 1.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3117, allocations: 192 kB / 442.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3117, allocations: 0 / 442.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.3121, allocations: 70.36 kB / 442.7 MB, free: 1.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * 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 (11): * Single equations (assignments): 8 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001576/0.3136, allocations: 0.9837 MB / 443.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.3147, allocations: 408.2 kB / 444.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3147, allocations: 0.5938 kB / 444.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004462/0.3151, allocations: 215.1 kB / 444.3 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3154, allocations: 50.61 kB / 444.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008265/0.3237, allocations: 3.411 MB / 447.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.3241, allocations: 0.7512 MB / 448.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001394/0.3243, allocations: 28 kB / 448.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.3244, allocations: 78.89 kB / 448.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of SimCode: time 8.11e-07/0.3244, allocations: 3.938 kB / 448.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03654/0.361, allocations: 6.352 MB / 455 MB, free: 12.31 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.81, allocations: 3.656 kB / 455 MB, free: 12.31 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_OpAmps_Integrator.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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: 14.131992768961936]