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.001278/0.001278, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001575/0.001575, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 7.809 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.002108/0.002108, allocations: 71.89 kB / 377.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2882, allocations: 53.4 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00508/0.2933, allocations: 2.768 MB / 433.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.2951, allocations: 0.7052 MB / 434.6 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.2955, allocations: 11.94 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.2957, allocations: 51.5 kB / 434.7 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003509/0.2961, allocations: 111.1 kB / 434.8 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.2964, allocations: 99.89 kB / 434.9 MB, free: 2.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006069/0.297, allocations: 414.3 kB / 435.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002443/0.2973, allocations: 89.34 kB / 435.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002852/0.2976, allocations: 159.4 kB / 435.6 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.2979, allocations: 159.2 kB / 435.7 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.272e-05/0.2979, allocations: 43.94 kB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.116e-05/0.298, allocations: 44 kB / 435.8 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.541e-05/0.2981, allocations: 79.7 kB / 435.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.2983, allocations: 147.3 kB / 436 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.2989, allocations: 466.2 kB / 436.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2989, allocations: 4 kB / 436.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.2989, allocations: 0 / 436.5 MB, free: 1.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.2989, allocations: 0 / 436.5 MB, free: 1.102 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001487/0.3004, allocations: 0.5975 MB / 437.1 MB, free: 480 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.3005, allocations: 11.98 kB / 437.1 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.997e-05/0.3006, allocations: 66.72 kB / 437.2 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.3007, allocations: 36.75 kB / 437.2 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.3012, allocations: 249.8 kB / 437.4 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.646e-05/0.3013, allocations: 21.03 kB / 437.5 MB, free: 56 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.3013, allocations: 24.38 kB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.3021, allocations: 367.3 kB / 437.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3021, allocations: 0 / 437.8 MB, free: 15.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.445e-05/0.3021, allocations: 12 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3021, allocations: 4 kB / 437.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.3029, allocations: 270.4 kB / 438.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.305, allocations: 0.9709 MB / 439.1 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006655/0.3057, allocations: 206.6 kB / 439.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002704/0.306, allocations: 92.8 kB / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.306, allocations: 0 / 439.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.3065, allocations: 262.7 kB / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.793e-06/0.3065, allocations: 3.938 kB / 439.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001724/0.3082, allocations: 454.1 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/0.3083, allocations: 136.5 kB / 440.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.3087, allocations: 293.7 kB / 440.5 MB, free: 12.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3087, allocations: 29.7 kB / 440.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.3089, allocations: 204 kB / 440.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.3089, allocations: 51.59 kB / 440.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.309, allocations: 53.69 kB / 440.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.3092, allocations: 338.8 kB / 441.2 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.3095, allocations: 117.6 kB / 441.3 MB, free: 12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.3099, allocations: 304.3 kB / 441.6 MB, free: 11.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/0.3105, allocations: 302.5 kB / 441.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3105, allocations: 0 / 441.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001053/0.3116, allocations: 449.6 kB / 442.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.361e-05/0.3116, allocations: 37.64 kB / 442.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.3116, allocations: 11.92 kB / 442.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003579/0.312, allocations: 72.8 kB / 442.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3122, allocations: 51.94 kB / 442.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.3148, allocations: 1.865 MB / 444.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.3152, allocations: 55.73 kB / 444.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3152, allocations: 16 kB / 444.4 MB, free: 8.602 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: 7 (buffer.opAmp.satNeg,buffer.opAmp.satPos,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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.3154, allocations: 153.4 kB / 444.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.3155, allocations: 23.86 kB / 444.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.484e-05/0.3155, allocations: 30.11 kB / 444.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3155, allocations: 0 / 444.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3156, allocations: 7.938 kB / 444.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3156, allocations: 0 / 444.6 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.3159, allocations: 268.5 kB / 444.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3159, allocations: 0 / 444.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.316, allocations: 19.98 kB / 444.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002861/0.3163, allocations: 80.78 kB / 445 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3163, allocations: 0 / 445 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/0.3185, allocations: 1.865 MB / 446.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3185, allocations: 0 / 446.9 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008272/0.3193, allocations: 316.8 kB / 447.2 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.3194, allocations: 27.75 kB / 447.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.3194, allocations: 15.92 kB / 447.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.3197, allocations: 27.97 kB / 447.2 MB, free: 5.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-05/0.3198, allocations: 23.95 kB / 447.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.3198, allocations: 8 kB / 447.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.32, allocations: 205.2 kB / 447.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.32, allocations: 0 / 447.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004235/0.3204, allocations: 83.89 kB / 447.6 MB, free: 5.281 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: 5 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count,buffer.opAmp.satPos,buffer.opAmp.satNeg) * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.3216, allocations: 0.8472 MB / 448.4 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.3226, allocations: 436 kB / 448.8 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3226, allocations: 4.188 kB / 448.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.323, allocations: 234.5 kB / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.3234, allocations: 62.92 kB / 449.1 MB, free: 3.637 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.3291, allocations: 3.232 MB / 452.4 MB, free: 228 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.3293, allocations: 151.8 kB / 452.5 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001294/0.3294, allocations: 34.95 kB / 452.5 MB, free: 20 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3296, allocations: 87.48 kB / 452.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3296, allocations: 0 / 452.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04/0.3696, allocations: 7.926 MB / 460.5 MB, free: 8.168 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/12.76, allocations: 8.062 kB / 460.6 MB, free: 8.16 MB / 366.1 MB " [Timeout remaining time 647] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 15.186946318019181]