Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.001539/0.001539, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.002112/0.002112, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.507/1.507, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 373.4 MB, free: 10.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1176, allocations: 53.32 MB / 426.7 MB, free: 4.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004516/0.1221, allocations: 2.954 MB / 429.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.1235, allocations: 0.7674 MB / 430.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.1237, allocations: 4 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001653/0.1238, allocations: 51.5 kB / 430.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001972/0.124, allocations: 103.2 kB / 430.6 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1243, allocations: 119.8 kB / 430.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004548/0.1248, allocations: 418.4 kB / 431.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002214/0.125, allocations: 91.27 kB / 431.2 MB, free: 428 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1252, allocations: 155.4 kB / 431.3 MB, free: 272 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1254, allocations: 171.3 kB / 431.5 MB, free: 100 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.208e-05/0.1255, allocations: 40 kB / 431.6 MB, free: 60 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.763e-05/0.1255, allocations: 43.94 kB / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2216/0.3471, allocations: 73.83 kB / 431.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002992/0.3474, allocations: 173.7 kB / 431.8 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.348, allocations: 455.1 kB / 432.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.348, allocations: 1.344 kB / 432.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.348, allocations: 0.875 kB / 432.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.3481, allocations: 0.5312 kB / 432.3 MB, free: 7.953 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001328/0.3494, allocations: 0.6848 MB / 433 MB, free: 7.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/0.3494, allocations: 9.812 kB / 433 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.076e-05/0.3495, allocations: 63.22 kB / 433 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.254e-05/0.3496, allocations: 41.83 kB / 433.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.35, allocations: 299.4 kB / 433.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3501, allocations: 19.06 kB / 433.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.3501, allocations: 25.12 kB / 433.4 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007286/0.3508, allocations: 334.3 kB / 433.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.3509, allocations: 3.156 kB / 433.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.3509, allocations: 8.656 kB / 433.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.3509, allocations: 6.25 kB / 433.8 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.3516, allocations: 283.8 kB / 434 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.3533, allocations: 1.14 MB / 435.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008241/0.3541, allocations: 242.8 kB / 435.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.3545, allocations: 105.8 kB / 435.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3545, allocations: 1.656 kB / 435.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000496/0.355, allocations: 186.9 kB / 435.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.355, allocations: 0 / 435.7 MB, free: 6.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.002368/0.3574, allocations: 0.6646 MB / 436.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.3574, allocations: 105.9 kB / 436.5 MB, free: 6.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.3578, allocations: 285.1 kB / 436.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.3578, allocations: 34.98 kB / 436.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.3579, allocations: 202.2 kB / 437 MB, free: 5.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.358, allocations: 44.58 kB / 437 MB, free: 5.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/0.3581, allocations: 50.95 kB / 437.1 MB, free: 5.863 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.979e-05/0.3581, allocations: 338.4 kB / 437.4 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003484/0.3585, allocations: 105.7 kB / 437.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003973/0.3589, allocations: 228.8 kB / 437.7 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006735/0.3596, allocations: 318.8 kB / 438 MB, free: 5.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.3596, allocations: 5.219 kB / 438.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001254/0.3608, allocations: 481.8 kB / 438.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.3609, allocations: 33.7 kB / 438.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3609, allocations: 3.812 kB / 438.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.3613, allocations: 85.05 kB / 438.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.3615, allocations: 49.33 kB / 438.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.3642, allocations: 2.072 MB / 440.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004114/0.3646, allocations: 52.81 kB / 440.8 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.3646, allocations: 13.56 kB / 440.8 MB, free: 3.586 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.3648, allocations: 156.8 kB / 441 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.3648, allocations: 24.67 kB / 441 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.3649, allocations: 28.8 kB / 441 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3649, allocations: 1.125 kB / 441 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3649, allocations: 1.438 kB / 441 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3649, allocations: 0.8438 kB / 441 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.3652, allocations: 329.6 kB / 441.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3652, allocations: 2.062 kB / 441.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3653, allocations: 22.19 kB / 441.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002821/0.3656, allocations: 88.55 kB / 441.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.3656, allocations: 1.688 kB / 441.5 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/0.3677, allocations: 1.983 MB / 443.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3677, allocations: 1.156 kB / 443.5 MB, free: 1.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.3687, allocations: 368 kB / 443.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.3688, allocations: 102 kB / 443.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.3689, allocations: 10.94 kB / 443.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3691, allocations: 37.02 kB / 444 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.979e-05/0.3692, allocations: 17.91 kB / 444 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.3692, allocations: 4.703 kB / 444 MB, free: 1.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002018/0.3694, allocations: 200 kB / 444.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3694, allocations: 0 / 444.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.3699, allocations: 83.05 kB / 444.3 MB, free: 1.141 MB / 350.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 (9): * Single equations (assignments): 6 * 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.3713, allocations: 0.9135 MB / 445.2 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3726, allocations: 493.2 kB / 445.7 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3726, allocations: 0.625 kB / 445.7 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004637/0.3731, allocations: 236.6 kB / 445.9 MB, free: 80 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.3734, allocations: 48.58 kB / 445.9 MB, free: 64 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007976/0.3814, allocations: 3.594 MB / 449.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.3819, allocations: 0.7558 MB / 450.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.382, allocations: 30.34 kB / 450.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.3822, allocations: 84.75 kB / 450.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3822, allocations: 4 kB / 450.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03888/0.4211, allocations: 6.908 MB / 457.3 MB, free: 11.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.29, allocations: 8.906 kB / 457.3 MB, free: 11.39 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_NonInvertingAmplifier.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.79959714319557]