Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001834/0.001834, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001485/0.001485, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.455/1.455, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 59.91 kB / 373.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1184, allocations: 53.33 MB / 426.7 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004467/0.1229, allocations: 2.878 MB / 429.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1244, allocations: 0.7635 MB / 430.3 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.1246, allocations: 4 kB / 430.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.1248, allocations: 43.56 kB / 430.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002426/0.125, allocations: 107.2 kB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.1254, allocations: 107.8 kB / 430.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.1259, allocations: 394.5 kB / 431 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002203/0.1261, allocations: 91.25 kB / 431.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1264, allocations: 159.4 kB / 431.2 MB, free: 432 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1267, allocations: 163.3 kB / 431.4 MB, free: 268 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.701e-05/0.1267, allocations: 40 kB / 431.4 MB, free: 228 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.811e-05/0.1268, allocations: 36 kB / 431.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.427e-05/0.1269, allocations: 83.7 kB / 431.5 MB, free: 108 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2277/0.3546, allocations: 166.6 kB / 431.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006625/0.3553, allocations: 422.7 kB / 432.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3553, allocations: 1.656 kB / 432.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3553, allocations: 0 / 432.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.3553, allocations: 4.375 kB / 432.1 MB, free: 7.988 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.001288/0.3566, allocations: 0.6664 MB / 432.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3566, allocations: 9.578 kB / 432.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.966e-05/0.3567, allocations: 61.81 kB / 432.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.96e-05/0.3568, allocations: 36.7 kB / 432.9 MB, free: 7.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3572, allocations: 290.5 kB / 433.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3572, allocations: 17.59 kB / 433.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.3572, allocations: 24.47 kB / 433.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.3579, allocations: 315.9 kB / 433.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3579, allocations: 4.562 kB / 433.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.3579, allocations: 8.531 kB / 433.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.3579, allocations: 8.312 kB / 433.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006967/0.3586, allocations: 270.9 kB / 433.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.3601, allocations: 1.115 MB / 434.9 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007998/0.3609, allocations: 237.6 kB / 435.2 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002979/0.3612, allocations: 101.8 kB / 435.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3612, allocations: 1.156 kB / 435.3 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004544/0.3617, allocations: 176.2 kB / 435.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.233e-06/0.3617, allocations: 0 / 435.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00102/0.3627, allocations: 309.7 kB / 435.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.3628, allocations: 84.06 kB / 435.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.363, allocations: 264.9 kB / 436.1 MB, free: 6.285 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.3631, allocations: 28.8 kB / 436.1 MB, free: 6.254 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.3632, allocations: 203.6 kB / 436.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.441e-05/0.3632, allocations: 37.41 kB / 436.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.3633, allocations: 51.97 kB / 436.4 MB, free: 6.074 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.468e-05/0.3633, allocations: 337.1 kB / 436.7 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.3637, allocations: 103.8 kB / 436.8 MB, free: 5.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.364, allocations: 199.2 kB / 437 MB, free: 5.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006443/0.3647, allocations: 302.6 kB / 437.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3647, allocations: 1.719 kB / 437.3 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008391/0.3655, allocations: 358.7 kB / 437.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.3656, allocations: 35.28 kB / 437.7 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3656, allocations: 6.5 kB / 437.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.3656, allocations: 5.797 kB / 437.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002937/0.3659, allocations: 70.2 kB / 437.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3659, allocations: 4.688 kB / 437.8 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/0.3662, allocations: 53.3 kB / 437.8 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.3662, allocations: 10.31 kB / 437.8 MB, free: 5.375 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001251/0.3663, allocations: 152.8 kB / 438 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.3664, allocations: 21.58 kB / 438 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.3664, allocations: 25.88 kB / 438 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3664, allocations: 2.188 kB / 438 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3665, allocations: 0.6094 kB / 438 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.3665, allocations: 5.828 kB / 438.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.3668, allocations: 308.6 kB / 438.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3668, allocations: 5.375 kB / 438.4 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.367, allocations: 46.69 kB / 438.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.367, allocations: 3.203 kB / 438.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.367, allocations: 2.547 kB / 438.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.367, allocations: 2.75 kB / 438.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.367, allocations: 0.7031 kB / 438.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009856/0.368, allocations: 376.9 kB / 438.8 MB, free: 4.957 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.914e-05/0.3681, allocations: 101.2 kB / 438.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.3681, allocations: 6.672 kB / 438.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3683, allocations: 30.16 kB / 438.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.3684, allocations: 15.31 kB / 438.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.3684, allocations: 6.844 kB / 438.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001624/0.3686, allocations: 191.2 kB / 439.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3686, allocations: 0 / 439.1 MB, free: 4.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000305/0.3689, allocations: 69.23 kB / 439.2 MB, free: 4.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001149/0.37, allocations: 0.9062 MB / 440.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007342/0.3708, allocations: 287 kB / 440.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3708, allocations: 0 / 440.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000312/0.3711, allocations: 98.42 kB / 440.5 MB, free: 4.078 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.3714, allocations: 46.31 kB / 440.5 MB, free: 4.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.3758, allocations: 2.916 MB / 443.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.376, allocations: 0.7503 MB / 444.2 MB, free: 1.512 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.3762, allocations: 26.58 kB / 444.2 MB, free: 1.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3763, allocations: 84.58 kB / 444.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of SimCode: time 3.206e-06/0.3763, allocations: 0 / 444.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03397/0.4103, allocations: 5.555 MB / 449.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.245/8.655, allocations: 5.203 kB / 449.9 MB, free: 0.8125 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Differentiator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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: 11.065240840893239]