Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 108 kB / 18.4 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 194.3 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB 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.001115/0.001115, allocations: 51.94 kB / 329.2 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08753/0.08865, allocations: 46.6 MB / 375.8 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.004229/0.09293, allocations: 2.716 MB / 378.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.0944, allocations: 0.7173 MB / 379.3 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002584/0.0947, allocations: 7.938 kB / 379.3 MB, free: 1.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.09487, allocations: 39.58 kB / 379.3 MB, free: 1.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.09507, allocations: 95.25 kB / 379.4 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.09539, allocations: 95.8 kB / 379.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003477/0.09574, allocations: 354.5 kB / 379.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.09593, allocations: 88.69 kB / 379.9 MB, free: 448 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.09608, allocations: 127.5 kB / 380.1 MB, free: 320 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.09627, allocations: 151.3 kB / 380.2 MB, free: 168 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.721e-05/0.09632, allocations: 32 kB / 380.2 MB, free: 136 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.294e-05/0.09637, allocations: 28 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.503e-05/0.09644, allocations: 67.75 kB / 380.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2015/0.2979, allocations: 139.4 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004371/0.2984, allocations: 324 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2984, allocations: 0 / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2984, allocations: 2.906 kB / 380.8 MB, free: 10.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.2985, allocations: 1.375 kB / 380.8 MB, free: 10.09 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001114/0.2996, allocations: 0.6348 MB / 381.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.2996, allocations: 8.906 kB / 381.4 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.86e-05/0.2997, allocations: 34.09 kB / 381.5 MB, free: 9.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.3, allocations: 275.5 kB / 381.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3001, allocations: 16.34 kB / 381.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.547e-05/0.3001, allocations: 19.91 kB / 381.8 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005696/0.3007, allocations: 246.7 kB / 382 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.3007, allocations: 3.938 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.3007, allocations: 10.11 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3008, allocations: 6.094 kB / 382 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.3014, allocations: 256.9 kB / 382.3 MB, free: 9.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.3028, allocations: 0.8533 MB / 383.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007303/0.3036, allocations: 227.8 kB / 383.4 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.3039, allocations: 97.77 kB / 383.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.3039, allocations: 2.953 kB / 383.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004135/0.3043, allocations: 180.1 kB / 383.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.906e-06/0.3043, allocations: 1.078 kB / 383.6 MB, free: 8.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001806/0.3061, allocations: 0.5962 MB / 384.2 MB, free: 8.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.3062, allocations: 106.5 kB / 384.3 MB, free: 8.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.3065, allocations: 263.8 kB / 384.6 MB, free: 8.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.3065, allocations: 31.05 kB / 384.6 MB, free: 8.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.3066, allocations: 177.2 kB / 384.8 MB, free: 8.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.289e-05/0.3066, allocations: 39.88 kB / 384.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.3067, allocations: 49.12 kB / 384.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.38e-05/0.3068, allocations: 339.6 kB / 385.2 MB, free: 7.914 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3071, allocations: 100.7 kB / 385.3 MB, free: 7.906 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003188/0.3074, allocations: 173.8 kB / 385.5 MB, free: 7.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/0.3079, allocations: 271 kB / 385.7 MB, free: 7.707 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.308, allocations: 4 kB / 385.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001003/0.309, allocations: 424.4 kB / 386.2 MB, free: 7.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/0.309, allocations: 37.05 kB / 386.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.309, allocations: 1.984 kB / 386.2 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004514/0.3095, allocations: 113.3 kB / 386.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3097, allocations: 40.25 kB / 386.4 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.3115, allocations: 1.936 MB / 388.3 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002998/0.3118, allocations: 51 kB / 388.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.3119, allocations: 7.922 kB / 388.3 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003215/0.3122, allocations: 181.7 kB / 388.5 MB, free: 5.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002713/0.3125, allocations: 161.9 kB / 388.7 MB, free: 5.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004585/0.313, allocations: 246.5 kB / 388.9 MB, free: 5.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.463e-06/0.313, allocations: 5.188 kB / 388.9 MB, free: 5.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007144/0.3137, allocations: 352.2 kB / 389.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.3137, allocations: 37.25 kB / 389.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3137, allocations: 2.281 kB / 389.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001127/0.3138, allocations: 44.25 kB / 389.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001848/0.314, allocations: 38.84 kB / 389.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009657/0.315, allocations: 1.72 MB / 391.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.3153, allocations: 47.77 kB / 391.2 MB, free: 3.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3153, allocations: 7.703 kB / 391.2 MB, free: 3.824 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001042/0.3154, allocations: 198.8 kB / 391.4 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.742e-05/0.3155, allocations: 22.41 kB / 391.4 MB, free: 3.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.3155, allocations: 30.61 kB / 391.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3156, allocations: 1.688 kB / 391.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3156, allocations: 1.25 kB / 391.4 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3156, allocations: 4.797 kB / 391.4 MB, free: 3.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.3158, allocations: 295.7 kB / 391.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.3158, allocations: 0.875 kB / 391.7 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.316, allocations: 27.64 kB / 391.7 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.3162, allocations: 69.64 kB / 391.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.3162, allocations: 1.359 kB / 391.8 MB, free: 3.336 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.3178, allocations: 1.882 MB / 393.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3179, allocations: 0.5625 kB / 393.7 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008211/0.3187, allocations: 315.4 kB / 394 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.3188, allocations: 105.2 kB / 394.1 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.78e-05/0.3188, allocations: 9.641 kB / 394.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.319, allocations: 26.25 kB / 394.1 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3191, allocations: 22.69 kB / 394.2 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3192, allocations: 11.55 kB / 394.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001994/0.3194, allocations: 190.1 kB / 394.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3194, allocations: 0 / 394.3 MB, free: 1.297 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006003/0.32, allocations: 117.7 kB / 394.5 MB, free: 1.281 MB / 318.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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001571/0.3202, allocations: 104.6 kB / 394.6 MB, free: 1.188 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001514/0.3217, allocations: 0.741 MB / 395.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3217, allocations: 0 / 395.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.3221, allocations: 229.5 kB / 395.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3225, allocations: 48.08 kB / 395.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.3244, allocations: 0.7221 MB / 396.3 MB, free: 276 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3248, allocations: 0.7495 MB / 397 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.3249, allocations: 19.19 kB / 397.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3249, allocations: 0 / 397.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of Templates: time 0.009303/0.3342, allocations: 4.264 MB / 401.3 MB, free: 14.72 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmp/NonInvertingAmp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches