Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.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.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.InvertingAmp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vIn.signalSource.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007608/0.0007608, allocations: 86.02 kB / 17.58 MB, free: 5.758 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.0008001/0.0008001, allocations: 183.6 kB / 18.48 MB, free: 5.207 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.606/1.606, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0004464/0.0004465, allocations: 12 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09715, allocations: 47.58 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.003147/0.1003, allocations: 2.326 MB / 331.3 MB, free: 1.742 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1015, allocations: 0.6634 MB / 332 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.1016, allocations: 4 kB / 332 MB, free: 1.066 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.1018, allocations: 39.69 kB / 332 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001597/0.102, allocations: 75.38 kB / 332.1 MB, free: 0.9531 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1023, allocations: 59.92 kB / 332.2 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004366/0.1027, allocations: 342.6 kB / 332.5 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.1029, allocations: 94.27 kB / 332.6 MB, free: 480 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1031, allocations: 115.5 kB / 332.7 MB, free: 364 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.1032, allocations: 143.4 kB / 332.8 MB, free: 220 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.1033, allocations: 16 kB / 332.8 MB, free: 204 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.994e-05/0.1033, allocations: 16 kB / 332.9 MB, free: 188 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.1034, allocations: 59.75 kB / 332.9 MB, free: 128 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.1035, allocations: 77.58 kB / 333 MB, free: 44 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003469/0.1038, allocations: 275.5 kB / 333.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.1038, allocations: 0 / 333.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1039, allocations: 0 / 333.3 MB, free: 15.77 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1039, allocations: 0 / 333.3 MB, free: 15.77 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001191/0.1051, allocations: 0.6224 MB / 333.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1051, allocations: 8.031 kB / 333.9 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.814e-05/0.1052, allocations: 31.62 kB / 333.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.1056, allocations: 279.4 kB / 334.2 MB, free: 14.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-05/0.1057, allocations: 20.52 kB / 334.2 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1057, allocations: 24 kB / 334.2 MB, free: 14.7 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006359/0.1063, allocations: 311.4 kB / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1064, allocations: 0 / 334.5 MB, free: 14.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.1064, allocations: 11.98 kB / 334.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.1064, allocations: 4 kB / 334.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000736/0.1072, allocations: 277.5 kB / 334.8 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.1089, allocations: 1.105 MB / 335.9 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000727/0.1096, allocations: 238.5 kB / 336.2 MB, free: 12.65 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.1099, allocations: 108.8 kB / 336.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.11, allocations: 0 / 336.3 MB, free: 12.54 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.1105, allocations: 177.9 kB / 336.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 3.136e-06/0.1105, allocations: 0 / 336.4 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001844/0.1124, allocations: 0.5456 MB / 337 MB, free: 11.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.1125, allocations: 118.8 kB / 337.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.1127, allocations: 278.6 kB / 337.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1128, allocations: 33.7 kB / 337.4 MB, free: 11.31 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1129, allocations: 195.5 kB / 337.6 MB, free: 11.11 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.113, allocations: 43.44 kB / 337.6 MB, free: 11.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.113, allocations: 8 kB / 337.7 MB, free: 11.06 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000366/0.1134, allocations: 330.8 kB / 338 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.1137, allocations: 108.2 kB / 338.1 MB, free: 10.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.114, allocations: 213.7 kB / 338.3 MB, free: 10.37 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003294/0.1144, allocations: 149.6 kB / 338.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1144, allocations: 0 / 338.4 MB, free: 10.22 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001182/0.1156, allocations: 447.7 kB / 338.9 MB, free: 9.766 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.1156, allocations: 43.81 kB / 338.9 MB, free: 9.719 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.1157, allocations: 4 kB / 338.9 MB, free: 9.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003574/0.116, allocations: 68.81 kB / 339 MB, free: 9.645 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.1162, allocations: 59.95 kB / 339.1 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00222/0.1185, allocations: 1.589 MB / 340.6 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003223/0.1188, allocations: 63.72 kB / 340.7 MB, free: 7.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.1188, allocations: 8 kB / 340.7 MB, free: 7.793 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.119, allocations: 149.7 kB / 340.9 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.1191, allocations: 23.72 kB / 340.9 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.964e-05/0.1191, allocations: 29.7 kB / 340.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1191, allocations: 0 / 340.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.1191, allocations: 0 / 340.9 MB, free: 7.586 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.1191, allocations: 7.953 kB / 340.9 MB, free: 7.578 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.1196, allocations: 293.4 kB / 341.2 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1196, allocations: 3.984 kB / 341.2 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.1198, allocations: 23.98 kB / 341.2 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.12, allocations: 76.73 kB / 341.3 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.12, allocations: 192 / 341.3 MB, free: 7.137 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001992/0.122, allocations: 1.574 MB / 342.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.122, allocations: 0 / 342.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.1229, allocations: 341.4 kB / 343.2 MB, free: 5.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1231, allocations: 112.8 kB / 343.3 MB, free: 4.945 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.1231, allocations: 7.984 kB / 343.3 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.1233, allocations: 39.95 kB / 343.4 MB, free: 4.898 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.1234, allocations: 27.91 kB / 343.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1234, allocations: 0 / 343.4 MB, free: 4.871 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1236, allocations: 202 kB / 343.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1236, allocations: 0 / 343.6 MB, free: 4.676 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003407/0.124, allocations: 79.84 kB / 343.7 MB, free: 4.598 MB / 286.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001418/0.1241, allocations: 111.2 kB / 343.8 MB, free: 4.477 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009722/0.1251, allocations: 434.4 kB / 344.2 MB, free: 4.027 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1251, allocations: 0 / 344.2 MB, free: 4.027 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.1256, allocations: 234.6 kB / 344.4 MB, free: 3.785 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.1259, allocations: 45.62 kB / 344.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.127, allocations: 0.576 MB / 345.1 MB, free: 3.133 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.1273, allocations: 0.7521 MB / 345.8 MB, free: 2.355 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.1274, allocations: 19.44 kB / 345.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1274, allocations: 4 kB / 345.8 MB, free: 2.332 MB / 286.1 MB Notification: Performance of Templates: time 0.006483/0.1339, allocations: 4.38 MB / 350.2 MB, free: 13.95 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmp.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Electrical.Analog.Examples.InvertingAmpCalcHelperMain.o] Error 1